scons: Silent MSVC CRT security warnings.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 25 Apr 2008 16:55:32 +0000 (01:55 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 25 Apr 2008 16:55:43 +0000 (01:55 +0900)
common.py

index 51cbd90f1dfdc9e293159c31e776100eeb63c006..1c939e0e2455ef73431901027d18acea6e8710de 100644 (file)
--- a/common.py
+++ b/common.py
@@ -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']