scons: Disable more MSVC pedantic security warnings.

This commit is contained in:
José Fonseca 2009-10-21 17:03:52 +01:00
parent f8bee0e412
commit 1acd891ed3
1 changed files with 3 additions and 0 deletions

View File

@ -263,7 +263,10 @@ def generate(env):
if msvc and env['toolchain'] != 'winddk':
cppdefines += [
'VC_EXTRALEAN',
'_CRT_SECURE_NO_WARNINGS',
'_CRT_SECURE_NO_DEPRECATE',
'_SCL_SECURE_NO_WARNINGS',
'_SCL_SECURE_NO_DEPRECATE',
]
if debug:
cppdefines += ['_DEBUG']