mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54:23 +01:00
* types.h: Try and use uint64_t for a 64-bit type.
This commit is contained in:
parent
a338c1db91
commit
911cc7e6ab
@ -1,3 +1,7 @@
|
|||||||
|
2003-02-11 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* types.h: Try and use uint64_t for a 64-bit type.
|
||||||
|
|
||||||
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* cipher.h: Add constants for new SHAs.
|
* cipher.h: Add constants for new SHAs.
|
||||||
|
@ -21,6 +21,10 @@
|
|||||||
#ifndef G10_TYPES_H
|
#ifndef G10_TYPES_H
|
||||||
#define G10_TYPES_H
|
#define G10_TYPES_H
|
||||||
|
|
||||||
|
#if HAVE_INTTYPES_H
|
||||||
|
/* For uint64_t */
|
||||||
|
#include <inttypes.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The AC_CHECK_SIZEOF() in configure fails for some machines.
|
/* The AC_CHECK_SIZEOF() in configure fails for some machines.
|
||||||
* we provide some fallback values here */
|
* we provide some fallback values here */
|
||||||
@ -106,6 +110,9 @@
|
|||||||
#elif SIZEOF_UNSIGNED_LONG_LONG == 8
|
#elif SIZEOF_UNSIGNED_LONG_LONG == 8
|
||||||
typedef unsigned long long u64;
|
typedef unsigned long long u64;
|
||||||
#define HAVE_U64_TYPEDEF
|
#define HAVE_U64_TYPEDEF
|
||||||
|
#elif SIZEOF_UINT64_T == 8
|
||||||
|
typedef uint64_t u64;
|
||||||
|
#define HAVE_U64_TYPEDEF
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user