revert between 56095 -> 55830 in arch
[AROS.git] / tools / adflib / Generic / defendian.h
blob74ac73baca1d904ca7898c63022caab35e49fceb
1 #ifndef ADF_DEFENDIAN_H
2 #define ADF_DEFENDIAN_H
4 #include <sys/param.h>
6 #if __BYTE_ORDER == __LITTLE_ENDIAN
7 /* Little Endian */
8 #define LITT_ENDIAN
9 #elif __BYTE_ORDER == __BIG_ENDIAN
10 /* Big Endian */
11 #else
12 /* Unknown Endian */
13 #error Unknown Endian type!
14 #endif
16 #endif /* ADF_DEFENDIAN_H */