diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/types.h | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 768e52072..464704e18 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 13 19:31:58 CET 2000 Werner Koch <[email protected]> + + * types.h (HAVE_U64_TYPEDEF): Add a test for _LONGLONG which fixes + this long living SGI bug. Reported by Alec Habig. + Sat Dec 4 12:30:28 CET 1999 Werner Koch <[email protected]> * iobuf.h (IOBUFCTRL_CANCEL): Nww. diff --git a/include/types.h b/include/types.h index baac2b5c2..bf98840b2 100644 --- a/include/types.h +++ b/include/types.h @@ -83,6 +83,11 @@ #define HAVE_U32_TYPEDEF #endif +/**************** + * Warning: Some systems segfault when this u64 typedef and + * the dummy code in cipher/md.c is not available. Examples are + * Solaris and IRIX. + */ #ifndef HAVE_U64_TYPEDEF #undef u64 /* maybe there is a macro with this name */ #if SIZEOF_UNSIGNED_INT == 8 @@ -91,7 +96,7 @@ #elif SIZEOF_UNSIGNED_LONG == 8 typedef unsigned long u64; #define HAVE_U64_TYPEDEF - #elif __GNUC__ >= 2 || defined(__SUNPRO_C) + #elif __GNUC__ >= 2 || defined(__SUNPRO_C) || defined(_LONGLONG) typedef unsigned long long u64; #define HAVE_U64_TYPEDEF #endif |