2008-12-02 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbstr.c
* harbour/config/w32/xcc.cf
! fixed XCC compilation
* harbour/contrib/gtwvg/wvgwin.c
! changed _MAX_PATH to MAX_PATH - not all compilers support _MAX_PATH
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-12-02 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/common/hbstr.c
|
||||
* harbour/config/w32/xcc.cf
|
||||
! fixed XCC compilation
|
||||
|
||||
* harbour/contrib/gtwvg/wvgwin.c
|
||||
! changed _MAX_PATH to MAX_PATH - not all compilers support _MAX_PATH
|
||||
|
||||
2008-12-02 11:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/xhb/Makefile
|
||||
* harbour/contrib/xhb/common.mak
|
||||
|
||||
@@ -14,7 +14,11 @@ LIB_EXT = .lib
|
||||
CC = xcc.exe
|
||||
CC_IN = -c
|
||||
CC_OUT = -Fo
|
||||
CPPFLAGS = -I$(HB_INC_COMPILE) -I$(TOP) -I$(TOP)$(ROOT)
|
||||
CPPFLAGS = -I$(TOP) -I$(ROOT) -I$(TOP)$(ROOT)
|
||||
ifneq ($(HB_INC_COMPILE),)
|
||||
CPPFLAGS += -I$(HB_INC_COMPILE)
|
||||
endif
|
||||
|
||||
# disabled - it produces bad code
|
||||
#CPPFLAGS += -Ot
|
||||
|
||||
|
||||
@@ -1104,7 +1104,7 @@ static HBITMAP hPrepareBitmap( char * szBitmapX, UINT uiBitmap,
|
||||
else /* loading from resources */
|
||||
{
|
||||
UINT uiOptions = bMap3Dcolors ? LR_LOADMAP3DCOLORS : LR_DEFAULTCOLOR;
|
||||
char szResname[ _MAX_PATH+1 ];
|
||||
char szResname[ MAX_PATH + 1 ];
|
||||
|
||||
sprintf( szResname, "?%u", uiBitmap );
|
||||
|
||||
|
||||
@@ -1117,7 +1117,7 @@ ULONG hb_snprintf( char * buffer, ULONG nSize, const char * format, ... )
|
||||
result = vsprintf( buffer, format, arglist );
|
||||
#elif defined( _MSC_VER ) && _MSC_VER >= 1400
|
||||
result = _vsnprintf_s( buffer, nSize, _TRUNCATE, format, arglist );
|
||||
#elif defined( _MSC_VER ) || defined( __DMC__ ) && !defined( __XCC__ )
|
||||
#elif ( defined( _MSC_VER ) || defined( __DMC__ ) ) && !defined( __XCC__ )
|
||||
result = _vsnprintf( buffer, nSize, format, arglist );
|
||||
#define _HB_SNPRINTF_ADD_EOS
|
||||
#elif defined( __WATCOMC__ ) && __WATCOMC__ < 1200
|
||||
|
||||
Reference in New Issue
Block a user