mirror of https://github.com/axmolengine/axmol.git
change define macros to avoid run error on mac 32 bit
This commit is contained in:
parent
8e3220ba9e
commit
3403182f3e
|
@ -41,7 +41,7 @@ extern "C"
|
||||||
{
|
{
|
||||||
// To resolve link error when building 32bits with Xcode 6.
|
// To resolve link error when building 32bits with Xcode 6.
|
||||||
// More information please refer to the discussion in https://github.com/cocos2d/cocos2d-x/pull/6986
|
// More information please refer to the discussion in https://github.com/cocos2d/cocos2d-x/pull/6986
|
||||||
#if defined(__APPLE__) || defined(__unix)
|
#if defined (__unix) || (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
|
||||||
#ifndef __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
#ifndef __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
||||||
#define __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
#define __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue