summaryrefslogtreecommitdiff
path: root/sysdeps/s390/s390-32/bits/wordsize.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-32/bits/wordsize.h')
-rw-r--r--sysdeps/s390/s390-32/bits/wordsize.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/bits/wordsize.h b/sysdeps/s390/s390-32/bits/wordsize.h
index 4f50d8586c..b41661217f 100644
--- a/sysdeps/s390/s390-32/bits/wordsize.h
+++ b/sysdeps/s390/s390-32/bits/wordsize.h
@@ -5,3 +5,14 @@
#else
# define __WORDSIZE 32
#endif
+
+#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
+
+/* Signal that we didn't used to have a `long double'. The changes all
+ the `long double' function variants to be redirects to the double
+ functions. */
+# define __LONG_DOUBLE_MATH_OPTIONAL 1
+# ifndef __LONG_DOUBLE_128__
+# define __NO_LONG_DOUBLE_MATH 1
+# endif
+#endif