mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
waflib: xcompile: define both __ANDROID__ and ANDROID for compatibility
This commit is contained in:
parent
3ebb4d0ea3
commit
87f380b90c
@ -117,7 +117,7 @@ class Android:
|
||||
return os.path.abspath(os.path.join(self.ndk_home, path))
|
||||
|
||||
def cflags(self):
|
||||
cflags = ['--sysroot={0}'.format(self.sysroot()), '-DANDROID']
|
||||
cflags = ['--sysroot={0}'.format(self.sysroot()), '-DANDROID', '-D__ANDROID__']
|
||||
if self.is_arm():
|
||||
if self.arch.startswith('armeabi-v7a'):
|
||||
# ARMv7 support
|
||||
|
Loading…
Reference in New Issue
Block a user