mirror of https://github.com/axmolengine/axmol.git
Remove unneeded predefined macro _ADNROID, because ndk build chain has already defined a macro named ANDROID
This commit is contained in:
parent
3eba79ec07
commit
59a986438f
|
@ -8,6 +8,5 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../cocos2dx \
|
|||
|
||||
LOCAL_LDLIBS := -L$(LOCAL_PATH)/../../libs/armeabi -lcocos2d -llog
|
||||
|
||||
LOCAL_CPPFLAGS := -D_ANDROID
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
@ -94,5 +94,4 @@ LOCAL_LDLIBS := -lGLESv1_CM -llog -lz -ljnigraphics\
|
|||
-L$(LOCAL_PATH)/platform/android/third_party/libs -lxml2 \
|
||||
-L$(LOCAL_PATH)/platform/android/third_party/libs -ljpeg
|
||||
|
||||
LOCAL_CPPFLAGS := -D_ANDROID
|
||||
include $(BUILD_SHARED_LIBRARY)
|
|
@ -27,7 +27,7 @@ THE SOFTWARE.
|
|||
#define CCX_PLATFORM_UPHONE
|
||||
#elif defined (WIN32) && defined (_WINDOWS) // under win32pc
|
||||
#define CCX_PLATFORM_WIN32
|
||||
#elif defined (_ANDROID)
|
||||
#elif defined (ANDROID)
|
||||
#define CCX_PLATFORM_ANDROID
|
||||
#elif defined (TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR)
|
||||
#define CCX_PLATFORM_IPHONE
|
||||
|
|
Loading…
Reference in New Issue