diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2014-03-24 16:46:51 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-03-24 16:59:01 +0100 |
commit | 26011b5cfa6a1a8d8005d65f11d97498444a4e95 (patch) | |
tree | 994abeccb68e48b568d38fb8a126182e33fff369 /sysdeps/generic | |
parent | a2d86bf1ec3208e838156be8b90e3790946948f4 (diff) | |
download | glibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.tar.gz glibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.tar.xz glibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.zip |
S390: Define SIZE_MAX as unsigned long (BZ #16712).
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/stdint.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h index 4660748af1..f5d955648b 100644 --- a/sysdeps/generic/stdint.h +++ b/sysdeps/generic/stdint.h @@ -260,7 +260,11 @@ typedef unsigned long long int uintmax_t; # if __WORDSIZE == 64 # define SIZE_MAX (18446744073709551615UL) # else -# define SIZE_MAX (4294967295U) +# ifdef __WORDSIZE32_SIZE_ULONG +# define SIZE_MAX (4294967295UL) +# else +# define SIZE_MAX (4294967295U) +# endif # endif /* Limits of `wchar_t'. */ |