Skip to content

Commit 0c480de

Browse files
committed
merge from gcc
1 parent e26f407 commit 0c480de

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

libdecnumber/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2010-10-23 Nathan Froyd <[email protected]>
2+
3+
* dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
4+
(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5+
16
2010-09-10 Kai Tietz <[email protected]>
27

38
* configure: Regenerated.

libdecnumber/dconfig.h

+2-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
2828
#include "coretypes.h"
2929
#include "tm.h"
3030

31-
#ifndef LIBGCC2_WORDS_BIG_ENDIAN
32-
#define LIBGCC2_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN
33-
#endif
34-
3531
#ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
36-
#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN LIBGCC2_WORDS_BIG_ENDIAN
32+
#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN \
33+
(__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
3734
#endif
3835

3936
#if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN

0 commit comments

Comments
 (0)