Silence VC++ warnings about use of badly-designed parts of the C library.

v0.7.4-release
Peter Bright 2011-08-07 19:05:37 +01:00 committed by Ryan Dahl
parent bcff53dfb5
commit 588ef72ce0
1 changed files with 7 additions and 1 deletions

View File

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