summaryrefslogtreecommitdiff
path: root/src/ieee_floats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ieee_floats.h')
-rw-r--r--src/ieee_floats.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ieee_floats.h b/src/ieee_floats.h
index 101164ec3..42cf6b06c 100644
--- a/src/ieee_floats.h
+++ b/src/ieee_floats.h
@@ -54,13 +54,14 @@ union dbl_bytes {
must be in the compiler used to build the user-end application because
this is where the sNaN will be obtained). */
-#if HAVE_DOUBLE_IEEE_LITTLE_ENDIAN
+#ifdef HAVE_DOUBLE_IEEE_LITTLE_ENDIAN
static const union dbl_bytes dbl_infp =
{ { 0, 0, 0, 0, 0, 0, 0xF0, 0x7F } };
static const union dbl_bytes dbl_infm =
{ { 0, 0, 0, 0, 0, 0, 0xF0, 0xFF } };
#endif
-#if HAVE_DOUBLE_IEEE_BIG_ENDIAN
+
+#ifdef HAVE_DOUBLE_IEEE_BIG_ENDIAN
static const union dbl_bytes dbl_infp =
{ { 0x7F, 0xF0, 0, 0, 0, 0, 0, 0 } };
static const union dbl_bytes dbl_infm =