From 588ef72ce02595e954aa28b1805e09d937a0ec5e Mon Sep 17 00:00:00 2001 From: Peter Bright Date: Sun, 7 Aug 2011 19:05:37 +0100 Subject: [PATCH] Silence VC++ warnings about use of badly-designed parts of the C library. --- tools/all.gyp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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', ], }] ],