From 92cd25550836198cf1e3a6aac239eef98364359d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 14 Jul 2000 17:34:53 +0000 Subject: See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch --- include/types.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/types.h') diff --git a/include/types.h b/include/types.h index 6e12c3406..baece0bca 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 SIZEOF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long u64; #define HAVE_U64_TYPEDEF #endif -- cgit v1.2.3