From 50bd3cf2b75ef30a1ee35f4867734d5859271544 Mon Sep 17 00:00:00 2001 From: mannewalis Date: Fri, 19 Dec 2014 10:57:19 -0500 Subject: [PATCH] modify inline macro to work on windows --- cocos/base/allocator/CCAllocatorMacros.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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