aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-03-24 16:46:51 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-03-24 16:59:01 +0100
commit26011b5cfa6a1a8d8005d65f11d97498444a4e95 (patch)
tree994abeccb68e48b568d38fb8a126182e33fff369 /sysdeps/s390
parenta2d86bf1ec3208e838156be8b90e3790946948f4 (diff)
downloadglibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.tar
glibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.tar.gz
glibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.tar.bz2
glibc-26011b5cfa6a1a8d8005d65f11d97498444a4e95.zip
S390: Define SIZE_MAX as unsigned long (BZ #16712).
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/s390-32/bits/wordsize.h1
-rw-r--r--sysdeps/s390/s390-64/bits/wordsize.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/bits/wordsize.h b/sysdeps/s390/s390-32/bits/wordsize.h
index b41661217f..da791fa28e 100644
--- a/sysdeps/s390/s390-32/bits/wordsize.h
+++ b/sysdeps/s390/s390-32/bits/wordsize.h
@@ -4,6 +4,7 @@
# define __WORDSIZE 64
#else
# define __WORDSIZE 32
+# define __WORDSIZE32_SIZE_ULONG 1
#endif
#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
diff --git a/sysdeps/s390/s390-64/bits/wordsize.h b/sysdeps/s390/s390-64/bits/wordsize.h
index b41661217f..da791fa28e 100644
--- a/sysdeps/s390/s390-64/bits/wordsize.h
+++ b/sysdeps/s390/s390-64/bits/wordsize.h
@@ -4,6 +4,7 @@
# define __WORDSIZE 64
#else
# define __WORDSIZE 32
+# define __WORDSIZE32_SIZE_ULONG 1
#endif
#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL