diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/endian.h | 14 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/endian.h | 15 |
3 files changed, 19 insertions, 15 deletions
@@ -1,3 +1,8 @@ +2001-03-27 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions... + * include/endian.h: ...to here. + 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG. diff --git a/include/endian.h b/include/endian.h index cacf2fe..a0f662a 100644 --- a/include/endian.h +++ b/include/endian.h @@ -1 +1,15 @@ #include <string/endian.h> + +#if __FLOAT_WORD_ORDER == __BIG_ENDIAN +#define BIG_ENDI 1 +#undef LITTLE_ENDI +#define HIGH_HALF 0 +#define LOW_HALF 1 +#else +#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN +#undef BIG_ENDI +#define LITTLE_ENDI 1 +#define HIGH_HALF 1 +#define LOW_HALF 0 +#endif +#endif diff --git a/sysdeps/ieee754/dbl-64/endian.h b/sysdeps/ieee754/dbl-64/endian.h deleted file mode 100644 index d6711e5..0000000 --- a/sysdeps/ieee754/dbl-64/endian.h +++ /dev/null @@ -1,15 +0,0 @@ -#include <endian.h> - -#if __FLOAT_WORD_ORDER == __BIG_ENDIAN -#define BIG_ENDI 1 -#undef LITTLE_ENDI -#define HIGH_HALF 0 -#define LOW_HALF 1 -#else -#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN -#undef BIG_ENDI -#define LITTLE_ENDI 1 -#define HIGH_HALF 1 -#define LOW_HALF 0 -#endif -#endif |