summaryrefslogtreecommitdiff
path: root/arch/s390x/bits/alltypes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390x/bits/alltypes.h.in')
-rw-r--r--arch/s390x/bits/alltypes.h.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/s390x/bits/alltypes.h.in b/arch/s390x/bits/alltypes.h.in
index 20d9c630..6c0eb7f4 100644
--- a/arch/s390x/bits/alltypes.h.in
+++ b/arch/s390x/bits/alltypes.h.in
@@ -9,10 +9,11 @@
TYPEDEF int wchar_t;
#endif
+#if defined(__FLT_EVAL_METHOD__) && __FLT_EVAL_METHOD__ == 1
TYPEDEF double float_t;
+#else
+TYPEDEF float float_t;
+#endif
TYPEDEF double double_t;
TYPEDEF struct { long long __ll; long double __ld; } max_align_t;
-
-TYPEDEF long time_t;
-TYPEDEF long suseconds_t;