aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/mathfp/s_mathcnst.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/mathfp/s_mathcnst.c')
-rw-r--r--newlib/libm/mathfp/s_mathcnst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/mathfp/s_mathcnst.c b/newlib/libm/mathfp/s_mathcnst.c
index 7865c7f..a847ee4 100644
--- a/newlib/libm/mathfp/s_mathcnst.c
+++ b/newlib/libm/mathfp/s_mathcnst.c
@@ -12,13 +12,13 @@ ufloat z_hugeval_f = { 0x7f800000 };
ufloat z_infinity_f = { 0x7f800000 };
ufloat z_notanum_f = { 0xffd00000 };
-#ifdef ___IEEE_LITTLE_ENDIAN
+#ifdef __IEEE_BIG_ENDIAN
udouble z_hugeval = { 0x7ff00000, 0 };
udouble z_infinity = { 0x7ff00000, 0 };
udouble z_notanum = { 0xfff80000, 0 };
-#else
+#else /* __IEEE_LITTLE_ENDIAN */
udouble z_hugeval = { 0, 0x7ff00000 };
udouble z_infinity = { 0, 0x7ff00000 };
udouble z_notanum = { 0, 0xfff80000 };
-#endif /* ___IEEE_LITTLE_ENDIAN */
+#endif /* __IEEE_LITTLE_ENDIAN */