diff options
author | Peter Bright <drpizza@quiscalusmexicanus.org> | 2011-08-07 22:05:37 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-08 01:22:45 +0400 |
commit | 588ef72ce02595e954aa28b1805e09d937a0ec5e (patch) | |
tree | aa9dd1fc04f15a02d8d994a2fda59caf3e0aaeb7 /tools | |
parent | bcff53dfb57652e8f58e613cc951275790608780 (diff) |
Silence VC++ warnings about use of badly-designed parts of the C library.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/all.gyp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/all.gyp b/tools/all.gyp index f366f7ae494..92ff4cc1061 100644 --- a/tools/all.gyp +++ b/tools/all.gyp @@ -33,7 +33,13 @@ 'conditions': [ ['OS == "win"', { 'defines': [ - 'WIN32' + 'WIN32', + # we don't really want VC++ warning us about + # how dangerous C functions are... + '_CRT_SECURE_NO_DEPRECATE', + # ... or that C implementations shouldn't use + # POSIX names + '_CRT_NONSTDC_NO_DEPRECATE', ], }] ], |