Skip to content

Commit ca4360c

Browse files
EricDDKhuangwei1024
authored andcommitted
[Change] the CC_64BITS macro to 64-bit decision. (cocos2d#19723)
1 parent c7d86c8 commit ca4360c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/base/ccMacros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ CC_ASSERT(__gl_error_code == GL_NO_ERROR, "Error"); \
276276
/*********************************/
277277
/** 64bits Program Sense Macros **/
278278
/*********************************/
279-
#if defined(_M_X64) || defined(_WIN64) || defined(__LP64__) || defined(_LP64) || defined(__x86_64)
279+
#if defined(_M_X64) || defined(_WIN64) || defined(__LP64__) || defined(_LP64) || defined(__x86_64) || defined(__arm64__) || defined(__aarch64__)
280280
#define CC_64BITS 1
281281
#else
282282
#define CC_64BITS 0

0 commit comments

Comments
 (0)