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:
parent
2e78444a3e
commit
55105f8660
@ -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>
|
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
|
* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
|
||||||
|
@ -7,4 +7,13 @@
|
|||||||
# define NOFILE (60)
|
# define NOFILE (60)
|
||||||
# define PATHSIZE (1024)
|
# 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
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user