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
Benjamin Valentin 4707f6b749 pkg/libb2: rename config.h to libb2_config.h
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.
2019-09-04 14:15:52 +02:00

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 */