Defining gcc specific macros in seperate header

This commit is contained in:
Billy Kozak 2015-06-22 09:48:39 -06:00
parent aecb591d12
commit 8e5f0bc36a
7 changed files with 61 additions and 35 deletions

View file

@ -40,6 +40,7 @@
#include "dev/watchdog.h"
#include "sys/process.h"
#include "sys/energest.h"
#include "sys/cc.h"
#include "net/netstack.h"
#include "net/packetbuf.h"
#include "net/rime/rimestats.h"
@ -73,12 +74,6 @@
#define PRINTF(...)
#endif
/*---------------------------------------------------------------------------*/
#ifdef __GNUC__
#define CC_ALIGN_ATTR(n) __attribute__ ((aligned(n)))
#else
#define CC_ALIGN_ATTR(n)
#endif
/*---------------------------------------------------------------------------*/
#ifdef RF_CORE_CONF_DEBUG_CRC
#define RF_CORE_DEBUG_CRC RF_CORE_CONF_DEBUG_CRC
#else