Merge pull request #1133 from bkozak-scanimetrics/cc-gcc

put gcc specific stuff into seperate .h
This commit is contained in:
Benoît Thébaudeau 2015-12-05 00:39:59 +01:00
commit 6166693a11
7 changed files with 61 additions and 35 deletions

View file

@ -46,6 +46,7 @@
#define CC_H_
#include "contiki-conf.h"
#include "sys/cc-gcc.h"
/**
* Configure if the C compiler supports the "register" keyword for
@ -100,6 +101,10 @@
#define CC_INLINE
#endif /* CC_CONF_INLINE */
#ifdef CC_CONF_ALIGN
#define CC_ALIGN(n) CC_CONF_ALIGN(n)
#endif /* CC_CONF_INLINE */
/**
* Configure if the C compiler supports the assignment of struct value.
*/