summaryrefslogtreecommitdiffstats
path: root/lib/flash/config.h
blob: a132a01accfcf55b4b5db602faabcd9edffe6397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* For CCAN */

#include <endian.h>
#include <byteswap.h>

#define HAVE_TYPEOF			1
#define HAVE_BUILTIN_TYPES_COMPATIBLE_P	1


#if __BYTE_ORDER == __LITTLE_ENDIAN
#define HAVE_BIG_ENDIAN         0
#define HAVE_LITTLE_ENDIAN      1
#else
#define HAVE_BIG_ENDIAN         1
#define HAVE_LITTLE_ENDIAN      0
#endif

#define HAVE_BYTESWAP_H 1
#define HAVE_BSWAP_64	1
OpenPOWER on IntegriCloud