/* md5.h - Declaration of functions and data types used for MD5 sum
computing library functions.
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu.
# include <sys/types.h>
typedef u_int32_t md5_uint32;
#else
-# if defined __STDC__ && __STDC__
-# define UINT_MAX_32_BITS 4294967295U
-# else
-# define UINT_MAX_32_BITS 0xFFFFFFFF
-# endif
+# define INT_MAX_32_BITS 2147483647
/* If UINT_MAX isn't defined, assume it's a 32-bit type.
This should be valid for all systems GNU cares about because
that doesn't include 16-bit systems, and only modern systems
(that certainly have <limits.h>) have 64+-bit integral types. */
-# ifndef UINT_MAX
-# define UINT_MAX UINT_MAX_32_BITS
+# ifndef INT_MAX
+# define INT_MAX INT_MAX_32_BITS
# endif
-# if UINT_MAX == UINT_MAX_32_BITS
+# if INT_MAX == INT_MAX_32_BITS
typedef unsigned int md5_uint32;
# else
-# if USHRT_MAX == UINT_MAX_32_BITS
+# if SHRT_MAX == INT_MAX_32_BITS
typedef unsigned short md5_uint32;
# else
-# if ULONG_MAX == UINT_MAX_32_BITS
+# if LONG_MAX == INT_MAX_32_BITS
typedef unsigned long md5_uint32;
# else
/* The following line is intended to evoke an error.