about summary refs log tree commit diff
path: root/arch/i386/bits/float.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/bits/float.h')
-rw-r--r--arch/i386/bits/float.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/bits/float.h b/arch/i386/bits/float.h
index d439d40b..e18267d3 100644
--- a/arch/i386/bits/float.h
+++ b/arch/i386/bits/float.h
@@ -1,5 +1,9 @@
 #define FLT_ROUNDS 1
+#ifdef __FLT_EVAL_METHOD__
+#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
+#else
 #define FLT_EVAL_METHOD 2
+#endif
 
 #define LDBL_MIN     3.3621031431120935063e-4932L
 #define LDBL_MAX     1.1897314953572317650e+4932L