mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* types.h: Non-POSIX environments may have uint64_t but not UINT64_C.
This commit is contained in:
parent
33f0c46571
commit
8ef5348dd4
@ -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>
|
2003-07-30 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* util.h: Replaced some __MINGW32__ by _WIN32.
|
* util.h: Replaced some __MINGW32__ by _WIN32.
|
||||||
|
@ -101,7 +101,7 @@ typedef unsigned long u32;
|
|||||||
*/
|
*/
|
||||||
#ifndef HAVE_U64_TYPEDEF
|
#ifndef HAVE_U64_TYPEDEF
|
||||||
#undef u64 /* maybe there is a macro with this name */
|
#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;
|
typedef uint64_t u64;
|
||||||
#define U64_C(c) (UINT64_C(c))
|
#define U64_C(c) (UINT64_C(c))
|
||||||
#define HAVE_U64_TYPEDEF
|
#define HAVE_U64_TYPEDEF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user