mirror of https://github.com/axmolengine/axmol.git
modify inline macro to work on windows
This commit is contained in:
parent
da3fdf7a48
commit
50bd3cf2b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue