From b3e03ede3eeb224a2c293ae924ffa58f1de7e84a Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 25 Mar 2009 19:32:54 +0000 Subject: scons: Move MSVC specific away from Mingw builds. --- scons/generic.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scons/generic.py') diff --git a/scons/generic.py b/scons/generic.py index 764b626e588..03563e4c620 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -331,9 +331,12 @@ def generate(env): #'UNICODE', # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx, #'WIN32_LEAN_AND_MEAN', - 'VC_EXTRALEAN', - '_CRT_SECURE_NO_DEPRECATE', ] + if msvc: + cppdefines += [ + 'VC_EXTRALEAN', + '_CRT_SECURE_NO_DEPRECATE', + ] if debug: cppdefines += ['_DEBUG'] if platform == 'winddk': -- cgit v1.2.3