mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4707f6b749
This is to avoid conflics with other config.h files, e.g. when building for esp8266 where $(NEWLIB)/xtensa-lx106-elf/include/config.h gets included instead.
26 lines
414 B
C
26 lines
414 B
C
#ifndef LIBB2_CONFIG_H
|
|
#define LIBB2_CONFIG_H
|
|
|
|
#include "cpu.h"
|
|
|
|
#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
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* LIBB2_CONFIG_H */
|