From 5a743d9c513e6a36612872f270ea97b269451280 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 3 Feb 2010 22:53:03 +0000 Subject: scons: Have MinGW target MSVCRT 7.0 Necessary for _aligned_malloc/free(). --- scons/crossmingw.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scons') 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']) -- cgit v1.2.3