2012-04-25 18:17:04 +08:00
|
|
|
#ifndef __CCPLATFORMDEFINE_H__
|
|
|
|
#define __CCPLATFORMDEFINE_H__
|
|
|
|
|
2012-05-30 15:42:29 +08:00
|
|
|
#include <assert.h>
|
|
|
|
|
2012-04-25 18:17:04 +08:00
|
|
|
#define CC_DLL
|
|
|
|
|
2012-05-30 15:42:29 +08:00
|
|
|
#define CC_ASSERT(cond) assert(cond)
|
2012-04-25 18:17:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
#define CC_UNUSED_PARAM(unusedparam) (void)unusedparam
|
|
|
|
|
|
|
|
/* Define NULL pointer value */
|
|
|
|
#ifndef NULL
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define NULL 0
|
|
|
|
#else
|
|
|
|
#define NULL ((void *)0)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __CCPLATFORMDEFINE_H__*/
|