From 8ef5348dd4464acdf8e26090500b3dc619d33463 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 3 Sep 2003 02:52:06 +0000 Subject: * types.h: Non-POSIX environments may have uint64_t but not UINT64_C. --- include/ChangeLog | 5 +++++ include/types.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index 4a8ef7551..0bb4a57d8 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2003-09-02 David Shaw + + * types.h: Non-POSIX environments may have uint64_t but not + UINT64_C. + 2003-07-30 Werner Koch * util.h: Replaced some __MINGW32__ by _WIN32. diff --git a/include/types.h b/include/types.h index 8abfa6e87..383f01dc5 100644 --- a/include/types.h +++ b/include/types.h @@ -101,7 +101,7 @@ typedef unsigned long u32; */ #ifndef HAVE_U64_TYPEDEF #undef u64 /* maybe there is a macro with this name */ -#if SIZEOF_UINT64_T == 8 +#if SIZEOF_UINT64_T == 8 && defined(UINT64_C) typedef uint64_t u64; #define U64_C(c) (UINT64_C(c)) #define HAVE_U64_TYPEDEF -- cgit v1.2.3