From: Jim Meyering Date: Fri, 21 Feb 2003 12:16:12 +0000 (+0000) Subject: Merge in some changes from GNU libc. X-Git-Tag: v4.5.8~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e91595f93a09844b6ad1179b1dfd9f559c72bf8;p=thirdparty%2Fcoreutils.git Merge in some changes from GNU libc. (md5_uintptr): Define. --- diff --git a/lib/md5.h b/lib/md5.h index 3b7dea1699..0d22a70a2c 100644 --- a/lib/md5.h +++ b/lib/md5.h @@ -35,8 +35,9 @@ is usually not possible. */ #ifdef _LIBC -# include -typedef u_int32_t md5_uint32; +# include +typedef uint32_t md5_uint32; +typedef uintptr_t md5_uintptr; #else # if defined __STDC__ && __STDC__ # define UINT_MAX_32_BITS 4294967295U @@ -68,6 +69,9 @@ typedef u_int32_t md5_uint32; # endif # endif # endif +/* We have to make a guess about the integer type equivalent in size + to pointers which should always be correct. */ +typedef unsigned long int md5_uintptr; #endif #undef __P