5 Copyright © 2003-2011, The AROS Development Team. All rights reserved.
10 BSD systems like to see BYTE_ORDER and friends.
12 FreeBSD 5 in its pedantic namespace also has versions with underscores
13 to make it easier to port stuff, create them as well.
16 #include <aros/system.h>
18 #if defined(_BIG_ENDIAN)
22 #define _LITTLE_ENDIAN 1234
23 #define _BIG_ENDIAN 4321
24 #define _PDP_ENDIAN 3412
27 # define _BYTE_ORDER _BIG_ENDIAN
29 # define _BYTE_ORDER _LITTLE_ENDIAN
33 # define LITTLE_ENDIAN _LITTLE_ENDIAN
34 # define BIG_ENDIAN _BIG_ENDIAN
35 # define PDP_ENDIAN _PDP_ENDIAN
36 # define BYTE_ORDER _BYTE_ORDER
39 #endif /* _ENDIAN_H_ */