From 325a39c51197c480891d83b742abc01e61c7786f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Mar 2001 17:34:59 +0000 Subject: Update. 2001-03-27 Ulrich Drepper * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions... * include/endian.h: ...to here. --- include/endian.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include') diff --git a/include/endian.h b/include/endian.h index cacf2fe9b7..a0f662aafb 100644 --- a/include/endian.h +++ b/include/endian.h @@ -1 +1,15 @@ #include + +#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 -- cgit v1.2.3