1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/libb2/include/libb2_config.h

26 lines
414 B
C
Raw Normal View History

#ifndef LIBB2_CONFIG_H
#define LIBB2_CONFIG_H
2018-10-13 20:39:00 +02:00
#include "cpu.h"
2018-10-13 20:39:00 +02:00
#ifdef __cplusplus
extern "C" {
#endif
/* Add no suffix to the functions */
#define SUFFIX
/* Test for a little-endian machine */
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define NATIVE_LITTLE_ENDIAN
#endif
#ifndef CPU_HAS_UNALIGNED_ACCESS
#define HAVE_ALIGNED_ACCESS_REQUIRED
#endif
2018-10-13 20:39:00 +02:00
#ifdef __cplusplus
}
#endif
#endif /* LIBB2_CONFIG_H */