aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-20 21:13:39 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-20 21:13:39 -0700
commitb54537f681c5c8102a03699312ae1de12adebac7 (patch)
treee1f8d1b1f9b61ff2213b6867722c91ee62cd3766 /tools
parenteaed19a05ef3c9d04cd08691d1c8e5ec92ccf38d (diff)
undefine __APPLE__ when using emscripen headers
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 076a9d17..1951095c 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -49,6 +49,8 @@ if USE_EMSDK:
'-I' + path_from_root('system', 'include', 'gfx'),
'-I' + path_from_root('system', 'include', 'net'),
'-I' + path_from_root('system', 'include', 'SDL'),
+] + [
+ '-U__APPLE__'
]
# Engine tweaks