scons: Silent MSVC CRT security warnings.

This commit is contained in:
José Fonseca
2008-04-26 01:55:32 +09:00
parent 3faea292e5
commit 1e71283cce

View File

@@ -157,6 +157,7 @@ def generate(env):
# http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx,
'WIN32_LEAN_AND_MEAN',
'VC_EXTRALEAN',
'_CRT_SECURE_NO_DEPRECATE',
]
if debug:
cppdefines += ['_DEBUG']