2009-01-27 16:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
* include stdint.h in DJGPP >= 2.4
* harbour/source/common/hbprintf.c
! fixed DJGPP <= 2.3 compilation
* harbour/source/common/hbstr.c
* force buffer ending in DJGPP <= 2.3 when vsprintf() is used
* harbour/source/rtl/hbproces.c
! fixed typo in HB_SYMBOL_UNUSED() variable name
* harbour/config/dos/global.cf
! fixed for GNU make ports which prefer COMSPEC before SHELL
This commit is contained in:
@@ -8,6 +8,22 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-01-27 16:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbdefs.h
|
||||
* include stdint.h in DJGPP >= 2.4
|
||||
|
||||
* harbour/source/common/hbprintf.c
|
||||
! fixed DJGPP <= 2.3 compilation
|
||||
|
||||
* harbour/source/common/hbstr.c
|
||||
* force buffer ending in DJGPP <= 2.3 when vsprintf() is used
|
||||
|
||||
* harbour/source/rtl/hbproces.c
|
||||
! fixed typo in HB_SYMBOL_UNUSED() variable name
|
||||
|
||||
* harbour/config/dos/global.cf
|
||||
! fixed for GNU make ports which prefer COMSPEC before SHELL
|
||||
|
||||
2009-01-27 15:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/common/hbprintf.c
|
||||
! fixed two bugs in conversions
|
||||
|
||||
@@ -93,8 +93,8 @@ MDP = mkdir -p
|
||||
RANLIB = ranlib
|
||||
|
||||
dirbase::
|
||||
@[ -d $(ARCH_DIR) ] || $(MDP) $(ARCH_DIR)
|
||||
@[ -z $(LIB_DIR) ] || [ -d $(LIB_DIR) ] || $(MDP) $(LIB_DIR)
|
||||
@sh -c "[ -d $(ARCH_DIR) ] || $(MDP) $(ARCH_DIR)"
|
||||
@sh -c "[ -z $(LIB_DIR) ] || [ -d $(LIB_DIR) ] || $(MDP) $(LIB_DIR)"
|
||||
|
||||
clean::
|
||||
-$(RD) $(ARCH_DIR) $(LIB_ARCH)
|
||||
|
||||
@@ -69,6 +69,9 @@
|
||||
( defined( __WATCOMC__ ) && __WATCOMC__ >= 1270 ) || \
|
||||
( defined( __GNUC__ ) && \
|
||||
( defined( _ISOC99_SOURCE ) || \
|
||||
( defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L ) || \
|
||||
( defined( __DJGPP__ ) && \
|
||||
( __DJGPP__ > 2 || ( __DJGPP__ == 2 && __DJGPP_MINOR__ >= 4 ) ) ) || \
|
||||
defined( HB_OS_LINUX ) || defined( HB_OS_DARWIN ) ) )
|
||||
#include <stdint.h>
|
||||
/* workaround for BCC 5.8 bug */
|
||||
|
||||
@@ -139,7 +139,9 @@ HB_EXTERN_END
|
||||
#endif
|
||||
|
||||
#if ( defined( __BORLANDC__ ) && __BORLANDC__ < 1410 ) || \
|
||||
( defined( __WATCOMC__ ) && __WATCOMC__ < 1270 )
|
||||
( defined( __WATCOMC__ ) && __WATCOMC__ < 1270 ) || \
|
||||
( defined( __DJGPP__ ) && \
|
||||
( __DJGPP__ < 2 || ( __DJGPP__ == 2 && __DJGPP_MINOR__ <= 3 ) ) )
|
||||
# define intmax_t _x_longlong
|
||||
# define uintmax_t _x_ulonglong
|
||||
#endif
|
||||
|
||||
@@ -1115,6 +1115,7 @@ ULONG hb_snprintf( char * buffer, ULONG nSize, const char * format, ... )
|
||||
/* Use vsprintf() for DJGPP <= 2.03.
|
||||
This is a temporary hack, should implement a C99 snprintf() ourselves. */
|
||||
result = vsprintf( buffer, format, arglist );
|
||||
#define _HB_SNPRINTF_ADD_EOS
|
||||
#elif defined( _MSC_VER ) && _MSC_VER >= 1400
|
||||
result = _vsnprintf_s( buffer, nSize, _TRUNCATE, format, arglist );
|
||||
#elif ( defined( _MSC_VER ) || defined( __DMC__ ) ) && !defined( __XCC__ )
|
||||
|
||||
@@ -569,7 +569,7 @@ HB_FHANDLE hb_fsProcessOpen( const char *pszFilename,
|
||||
{
|
||||
int TODO; /* TODO: for given platform */
|
||||
|
||||
HB_SYMBOL_UNUSED( pszFileName );
|
||||
HB_SYMBOL_UNUSED( pszFilename );
|
||||
HB_SYMBOL_UNUSED( phStdin );
|
||||
HB_SYMBOL_UNUSED( phStdout );
|
||||
HB_SYMBOL_UNUSED( phStderr );
|
||||
|
||||
Reference in New Issue
Block a user