diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-13 15:29:37 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-13 15:29:37 -0800 |
commit | 27578df1265367d879913b7c5ce9dbf4233d9157 (patch) | |
tree | 83f1fbe664bd5d2ee14256f0e5b3ba850bba45d1 | |
parent | 0dcba8bc4ec746505cf05c37a253273fb0bcfe06 (diff) |
def/undef to make things work on windows
-rw-r--r-- | tools/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index e703634a..b61552ba 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -54,7 +54,8 @@ try: except: COMPILER_OPTS = [] COMPILER_OPTS = COMPILER_OPTS + ['-m32', '-U__i386__', '-U__x86_64__', '-U__i386', '-U__x86_64', '-U__SSE__', '-U__SSE2__', '-U__MMX__', - '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN', '-U__STRICT_ANSI__'] + '-UX87_DOUBLE_ROUNDING', '-UHAVE_GCC_ASM_FOR_X87', '-DEMSCRIPTEN', '-U__STRICT_ANSI__', '-U__CYGWIN__', + '-D__STDC__'] USE_EMSDK = not os.environ.get('EMMAKEN_NO_SDK') |