Add more compatible macros

This commit is contained in:
halx99 2023-03-04 16:13:21 +08:00
parent a4fae9dd57
commit f4855f0e14
1 changed files with 10 additions and 0 deletions

View File

@ -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__