diff --git a/cocos/base/allocator/CCAllocatorMacros.h b/cocos/base/allocator/CCAllocatorMacros.h index 654152ef18..056bef4bd1 100644 --- a/cocos/base/allocator/CCAllocatorMacros.h +++ b/cocos/base/allocator/CCAllocatorMacros.h @@ -47,7 +47,6 @@ // @brief CC_ALLOCATOR_INLINE // Turn off inlining of methods when debugging to make stack traces readable and stepping through code sane. - // By default inlined methods are hidden symbols since symbols are unique and inlines are not. #define CC_ALLOCATOR_INLINE // printf is safe to use @@ -55,7 +54,7 @@ #else - #define CC_ALLOCATOR_INLINE _LIBCPP_INLINE_VISIBILITY + #define CC_ALLOCATOR_INLINE inline #define LOG #endif