diff --git a/core/cocos2d.h b/core/cocos2d.h index 1a0c01abb4..1d577114ee 100644 --- a/core/cocos2d.h +++ b/core/cocos2d.h @@ -81,4 +81,14 @@ namespace cocos2d = ax; #define CC_INVALID_INDEX AX_INVALID_INDEX +#define CC_TARGET_PLATFORM AX_TARGET_PLATFORM +#define CC_PLATFORM_UNKNOWN AX_PLATFORM_UNKNOWN +#define CC_PLATFORM_IOS AX_PLATFORM_IOS +#define CC_PLATFORM_ANDROID AX_PLATFORM_ANDROID +#define CC_PLATFORM_WIN32 AX_PLATFORM_WIN32 +#define CC_PLATFORM_LINUX AX_PLATFORM_LINUX +#define CC_PLATFORM_MAC AX_PLATFORM_MAC + +#define CC_REQUIRES_NULL_TERMINATION AX_REQUIRES_NULL_TERMINATION + #endif // __COCOS2D_H__