From ae623a58767286dba9bf7cbede5b7b5c57c368c3 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 28 Jan 2009 03:23:49 +0000 Subject: [PATCH] 2009-01-28 04:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * added yet another TODO marker for easier code updating to new C compilers --- harbour/ChangeLog | 5 +++++ harbour/source/common/hbprintf.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 75faec966b..b46fccc52d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-01-28 04:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/common/hbprintf.c + * added yet another TODO marker for easier code updating to new + C compilers + 2009-01-27 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/owatcom.cf * increased max library page size (-p=32 => -p=64) diff --git a/harbour/source/common/hbprintf.c b/harbour/source/common/hbprintf.c index 4596937bcf..0c332b0f86 100644 --- a/harbour/source/common/hbprintf.c +++ b/harbour/source/common/hbprintf.c @@ -142,6 +142,11 @@ HB_EXTERN_END ( defined( __WATCOMC__ ) && __WATCOMC__ < 1270 ) || \ ( defined( __DJGPP__ ) && \ ( __DJGPP__ < 2 || ( __DJGPP__ == 2 && __DJGPP_MINOR__ <= 3 ) ) ) + /* TODO: add other C compilers which does not support [u]intmax_t + * definitions (check C compiler version number). + * If compiler supports stdint.h then it should be added + * to hbdefs.h. + */ # define intmax_t _x_longlong # define uintmax_t _x_ulonglong #endif