mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 23:30:06 +00:00
28d2fb9ad9
2001-03-29 Ulrich Drepper <drepper@redhat.com> * math/bits/mathcalls.h: Remove infnan declaration. 2001-03-29 H.J. Lu <hjl@gnu.org> * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined. * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC. . 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regex.c: Fix typo and add a sentinel. 2001-03-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with O_NOFOLLOW. Suggested by Christoph Roland.
18 lines
357 B
C
18 lines
357 B
C
#include <string/endian.h>
|
|
|
|
#if defined _LIBC && !defined _ISOMAC
|
|
# 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
|
|
#endif
|