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 51cbd90..1c939e0 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']