summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-21 17:03:52 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-22 19:12:12 +0100
commit1acd891ed31b14ac6c81fd869a681c4b89c7d901 (patch)
tree68ea6076c7205e321799aed07362d4aea69ef62d /scons/gallium.py
parentf8bee0e412ef1e8d5aed884561999fd1bd182494 (diff)
scons: Disable more MSVC pedantic security warnings.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 587294af71d..34877b2f8b3 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']