blob: 8af0bbe81dee2f253032177152a0bcefc5a96aef [file] [log] [blame]
Norman James6a58a272015-10-07 14:34:16 -05001/* 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