settings: Correct a problem where sometimes CC_INLINE is not defined properly.

This commit is contained in:
Robert Quattlebaum 2013-07-02 08:46:03 -07:00
parent ad34b714cd
commit 0308d3fcf0
4 changed files with 10 additions and 0 deletions

View file

@ -108,6 +108,7 @@
#include <stdint.h>
#include <string.h>
#include "dev/eeprom.h"
#include "sys/cc.h"
/*****************************************************************************/
// MARK: - Types

View file

@ -341,6 +341,9 @@ typedef unsigned short uip_stats_t;
#define CCIF
#define CLIF
#ifndef CC_CONF_INLINE
#define CC_CONF_INLINE inline
#endif
/* include the project config */
/* PROJECT_CONF_H might be defined in the project Makefile */

View file

@ -356,6 +356,9 @@ typedef unsigned short uip_stats_t;
#define CCIF
#define CLIF
#ifndef CC_CONF_INLINE
#define CC_CONF_INLINE inline
#endif
/* include the project config */
/* PROJECT_CONF_H might be defined in the project Makefile */

View file

@ -91,6 +91,9 @@ void clock_adjust_ticks(clock_time_t howmany);
#define CCIF
#define CLIF
#ifndef CC_CONF_INLINE
#define CC_CONF_INLINE inline
#endif
#define RIMEADDR_CONF_SIZE 8
#define PACKETBUF_CONF_HDR_SIZE 0