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:
Przemyslaw Czerpak
2008-12-02 12:46:19 +00:00
parent 16f9a67e9f
commit 5348f0c1d4
4 changed files with 15 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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 );

View File

@@ -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