libb2_config.h
1 #ifndef LIBB2_CONFIG_H
2 #define LIBB2_CONFIG_H
3 
4 #include "cpu.h"
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 /* Add no suffix to the functions */
11 #define SUFFIX
12 
13 /* Test for a little-endian machine */
14 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
15 #define NATIVE_LITTLE_ENDIAN
16 #endif
17 
18 #ifndef CPU_HAS_UNALIGNED_ACCESS
19 #define HAVE_ALIGNED_ACCESS_REQUIRED
20 #endif
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 #endif /* LIBB2_CONFIG_H */