summaryrefslogtreecommitdiff
path: root/libdecnumber/dconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/dconfig.h')
-rw-r--r--libdecnumber/dconfig.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libdecnumber/dconfig.h b/libdecnumber/dconfig.h
index 26b963c9480..503cb61e02d 100644
--- a/libdecnumber/dconfig.h
+++ b/libdecnumber/dconfig.h
@@ -28,12 +28,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "coretypes.h"
#include "tm.h"
-#ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
-#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN \
- (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
-#endif
-
-#if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
#define WORDS_BIGENDIAN 1
#endif