summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scons/crossmingw.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index 9cb0b89e3c..a4ae74e8d5 100644
--- a/scons/crossmingw.py
+++ b/scons/crossmingw.py
@@ -177,6 +177,7 @@ def generate(env):
# default in recent gcc versions
env.AppendUnique(CFLAGS = ['-gstabs'])
+ env.AppendUnique(CPPDEFINES = [('__MSVCRT_VERSION__', '0x0700')])
#env.AppendUnique(LIBS = ['iberty'])
env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup'])
#env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at'])