Browse Source

Remove ANDROID define

Fixes GDNative build error on Android.

It's also discouraged by Google to rely on it. In case someone needs to check, use ``__ANDROID__`` instead, provided by the very same compiler.
Pedro J. Estébanez 8 years ago
parent
commit
6ea233434a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/android/detect.py

+ 1 - 1
platform/android/detect.py

@@ -178,7 +178,7 @@ def configure(env):
 
 
     env.Append(CPPFLAGS=["-isystem", sysroot + "/usr/include"])
     env.Append(CPPFLAGS=["-isystem", sysroot + "/usr/include"])
     env.Append(CPPFLAGS=string.split('-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -fvisibility=hidden -fno-strict-aliasing'))
     env.Append(CPPFLAGS=string.split('-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -fvisibility=hidden -fno-strict-aliasing'))
-    env.Append(CPPFLAGS=string.split('-DANDROID -DNO_STATVFS -DGLES2_ENABLED'))
+    env.Append(CPPFLAGS=string.split('-DNO_STATVFS -DGLES2_ENABLED'))
 
 
     env['neon_enabled'] = False
     env['neon_enabled'] = False
     if env['android_arch'] == 'x86':
     if env['android_arch'] == 'x86':