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', ], }] ],