Norman James | 6a58a27 | 2015-10-07 14:34:16 -0500 | [diff] [blame] | 1 | /* For CCAN */ |
2 | |||||
3 | #include <endian.h> | ||||
4 | #include <byteswap.h> | ||||
5 | |||||
6 | #define HAVE_TYPEOF 1 | ||||
7 | #define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1 | ||||
8 | |||||
9 | |||||
10 | #if __BYTE_ORDER == __LITTLE_ENDIAN | ||||
11 | #define HAVE_BIG_ENDIAN 0 | ||||
12 | #define HAVE_LITTLE_ENDIAN 1 | ||||
13 | #else | ||||
14 | #define HAVE_BIG_ENDIAN 1 | ||||
15 | #define HAVE_LITTLE_ENDIAN 0 | ||||
16 | #endif | ||||
17 | |||||
18 | #define HAVE_BYTESWAP_H 1 | ||||
19 | #define HAVE_BSWAP_64 1 |