2002-06-21 Richard Earnshaw (rearnsha@arm.com)

* libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
        (BYTE_ORDER): Define as appropriate for the target.
This commit is contained in:
Jeff Johnston 2002-06-21 18:44:09 +00:00
parent 2e78444a3e
commit 55105f8660
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-06-21 Richard Earnshaw (rearnsha@arm.com)
* libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
(BYTE_ORDER): Define as appropriate for the target.
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE

View File

@ -7,4 +7,13 @@
# define NOFILE (60)
# define PATHSIZE (1024)
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234
#ifdef __ARMEB__
#define BYTE_ORDER BIG_ENDIAN
#else
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#endif