From 0c480dea726658ddeba3e1aa6644f804d4df1432 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sat, 23 Oct 2010 04:01:25 +0000 Subject: merge from gcc --- libdecnumber/ChangeLog | 5 +++++ libdecnumber/dconfig.h | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'libdecnumber') diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index 0d7765e..d2d6d59 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,3 +1,8 @@ +2010-10-23 Nathan Froyd + + * dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete. + (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__. + 2010-09-10 Kai Tietz * configure: Regenerated. diff --git a/libdecnumber/dconfig.h b/libdecnumber/dconfig.h index 91aa334..26b963c 100644 --- a/libdecnumber/dconfig.h +++ b/libdecnumber/dconfig.h @@ -28,12 +28,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "coretypes.h" #include "tm.h" -#ifndef LIBGCC2_WORDS_BIG_ENDIAN -#define LIBGCC2_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN -#endif - #ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN -#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN LIBGCC2_WORDS_BIG_ENDIAN +#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN \ + (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__) #endif #if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN -- cgit v1.1