2007-03-01 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/os2/global.cf
* harbour/contrib/hgf/os2pm/os2pm.c
* harbour/include/hbdefs.h
* harbour/include/hbgtcore.h
* harbour/source/rdd/dbcmd.c
* harbour/source/vm/mainpm.c
* cleaned OS2 build errors and warnings reported by David Macias.
Modifications not tested - OS2 users will have to make tests and
reports problems.
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-03-01 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/config/os2/global.cf
|
||||
* harbour/contrib/hgf/os2pm/os2pm.c
|
||||
* harbour/include/hbdefs.h
|
||||
* harbour/include/hbgtcore.h
|
||||
* harbour/source/rdd/dbcmd.c
|
||||
* harbour/source/vm/mainpm.c
|
||||
* cleaned OS2 build errors and warnings reported by David Macias.
|
||||
Modifications not tested - OS2 users will have to make tests and
|
||||
reports problems.
|
||||
|
||||
2007-03-01 05:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/pp/ppcore.c
|
||||
! fixed comments like /*/*/
|
||||
|
||||
@@ -18,6 +18,8 @@ ifeq ($(SHLVL),) # An OS/2 command shell
|
||||
|
||||
ARCH_DIR = $(HB_ARCH)
|
||||
OS2_ARCH_DIR = $(subst /,\,$(HB_ARCH))
|
||||
DIRSEP = $(subst /,\,\)
|
||||
|
||||
MK = $(subst /,\,$(subst \~,~,$(MAKE)))
|
||||
|
||||
ifeq ($(OS2_SHELL),)
|
||||
|
||||
@@ -291,8 +291,8 @@ HB_FUNC( WINSETOWNER )
|
||||
HB_FUNC( WINSENDMSG )
|
||||
{
|
||||
hb_retnl( ( LONG ) WinSendMsg( ( HWND ) hb_parnl( 1 ), hb_parnl( 2 ),
|
||||
( MPARAM ) IF( ISCHAR( 3 ), (ULONG) hb_parc( 3 ), hb_parnl( 3 ) ),
|
||||
( MPARAM ) IF( ISCHAR( 4 ), (ULONG) hb_parc( 4 ), hb_parnl( 4 ) ) ) );
|
||||
( MPARAM ) IF( ISCHAR( 3 ), (ULONG) hb_parc( 3 ), (ULONG) hb_parnl( 3 ) ),
|
||||
( MPARAM ) IF( ISCHAR( 4 ), (ULONG) hb_parc( 4 ), (ULONG) hb_parnl( 4 ) ) ) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -251,6 +251,19 @@
|
||||
#endif
|
||||
#endif /* HB_LONG_LONG_OFF */
|
||||
|
||||
#else /* HB_DONT_DEFINE_BASIC_TYPES */
|
||||
|
||||
/*
|
||||
* if HB_DONT_DEFINE_BASIC_TYPES excluded some types which are not
|
||||
* defined in included platform dependent header files then please
|
||||
* add necessary definitions here.
|
||||
*/
|
||||
|
||||
/* SCHAR is needed using GCC on OS/2 */
|
||||
#if ! defined( SCHAR )
|
||||
typedef signed char SCHAR; /* 1 byte signed */
|
||||
#endif
|
||||
|
||||
#endif /* HB_DONT_DEFINE_BASIC_TYPES */
|
||||
|
||||
/*
|
||||
|
||||
@@ -180,7 +180,7 @@ typedef struct
|
||||
void (* Bell) ( void );
|
||||
BOOL (* Info) ( int, PHB_GT_INFO );
|
||||
int (* Alert) ( PHB_ITEM, PHB_ITEM, int, int, double );
|
||||
BOOL (* SetFlag) ( int, int );
|
||||
int (* SetFlag) ( int, int );
|
||||
|
||||
/* internationalization */
|
||||
BOOL (* SetDispCP) ( char *, char *, BOOL );
|
||||
|
||||
@@ -2155,7 +2155,7 @@ HB_FUNC( DBSEEK )
|
||||
if( !ISNIL( 1 ) )
|
||||
{
|
||||
pKey = hb_param( 1, HB_IT_ANY );
|
||||
bSoftSeek = ISLOG( 2 ) ? hb_parl( 2 ) : hb_set.HB_SET_SOFTSEEK;
|
||||
bSoftSeek = ISLOG( 2 ) ? ( BOOL ) hb_parl( 2 ) : hb_set.HB_SET_SOFTSEEK;
|
||||
bFindLast = ISLOG( 3 ) ? hb_parl( 3 ) : FALSE;
|
||||
if( SELF_SEEK( pArea, bSoftSeek, pKey, bFindLast ) == SUCCESS )
|
||||
{
|
||||
@@ -2853,7 +2853,7 @@ HB_FUNC( ORDCREATE )
|
||||
dbOrderInfo.abBagName = ( BYTE * ) hb_parcx( 1 );
|
||||
dbOrderInfo.atomBagName = ( BYTE * ) hb_parcx( 2 );
|
||||
dbOrderInfo.itmOrder = NULL;
|
||||
dbOrderInfo.fUnique = ISLOG( 5 ) ? hb_parl( 5 ) : hb_set.HB_SET_UNIQUE;
|
||||
dbOrderInfo.fUnique = ISLOG( 5 ) ? ( BOOL ) hb_parl( 5 ) : hb_set.HB_SET_UNIQUE;
|
||||
dbOrderInfo.abExpr = hb_param( 3, HB_IT_STRING );
|
||||
if( ( ( dbOrderInfo.abBagName == NULL || strlen( ( char * ) dbOrderInfo.abBagName ) == 0 ) &&
|
||||
( dbOrderInfo.atomBagName == NULL || strlen( ( char * ) dbOrderInfo.atomBagName ) == 0 ) ) ||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
int main( int argc, char * argv[] )
|
||||
{
|
||||
int ;
|
||||
int iErrorCode;
|
||||
HAB hab; /* Anchor Block handle */
|
||||
HMQ hmq; /* Message Queue handle */
|
||||
|
||||
@@ -77,6 +77,3 @@ int main( int argc, char * argv[] )
|
||||
|
||||
return iErrorCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user