From 5a743d9c513e6a36612872f270ea97b269451280 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 3 Feb 2010 22:53:03 +0000 Subject: [PATCH] scons: Have MinGW target MSVCRT 7.0 Necessary for _aligned_malloc/free(). --- scons/crossmingw.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scons/crossmingw.py b/scons/crossmingw.py index 9cb0b89e3c7..a4ae74e8d54 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']) -- 2.30.2