1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-17 00:39:50 +02:00

* types.h: Non-POSIX environments may have uint64_t but not UINT64_C.

This commit is contained in:
David Shaw 2003-09-03 02:52:06 +00:00
parent 33f0c46571
commit 8ef5348dd4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-02 David Shaw <dshaw@jabberwocky.com>
* types.h: Non-POSIX environments may have uint64_t but not
UINT64_C.
2003-07-30 Werner Koch <wk@gnupg.org>
* util.h: Replaced some __MINGW32__ by _WIN32.

View File

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