mirror of https://github.com/axmolengine/axmol.git
Try fixes binding generator error.
This commit is contained in:
parent
0211c372b4
commit
4bbfb56983
|
@ -57,7 +57,7 @@ THE SOFTWARE.
|
|||
#define CC_TARGET_PLATFORM CC_PLATFORM_UNKNOWN
|
||||
|
||||
// Apple: Mac and iOS
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) && !defined(ANDROID) // execlude android for binding generator.
|
||||
#include <TargetConditionals.h>
|
||||
#if TARGET_OS_IPHONE // TARGET_OS_IPHONE inlcudes TARGET_OS_IOS TARGET_OS_TV and TARGET_OS_WATCH. see TargetConditionals.h
|
||||
#undef CC_TARGET_PLATFORM
|
||||
|
|
Loading…
Reference in New Issue