diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-10-21 17:03:52 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-10-22 19:12:12 +0100 |
commit | 1acd891ed31b14ac6c81fd869a681c4b89c7d901 (patch) | |
tree | 68ea6076c7205e321799aed07362d4aea69ef62d /scons/gallium.py | |
parent | f8bee0e412ef1e8d5aed884561999fd1bd182494 (diff) |
scons: Disable more MSVC pedantic security warnings.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r-- | scons/gallium.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 587294af71..34877b2f8b 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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'] |