Merge pull request #1133 from bkozak-scanimetrics/cc-gcc
put gcc specific stuff into seperate .h
This commit is contained in:
commit
6166693a11
7 changed files with 61 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue