Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Bright <drpizza@quiscalusmexicanus.org>2011-08-07 22:05:37 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-08 01:22:45 +0400
commit588ef72ce02595e954aa28b1805e09d937a0ec5e (patch)
treeaa9dd1fc04f15a02d8d994a2fda59caf3e0aaeb7 /tools
parentbcff53dfb57652e8f58e613cc951275790608780 (diff)
Silence VC++ warnings about use of badly-designed parts of the C library.
Diffstat (limited to 'tools')
-rw-r--r--tools/all.gyp8
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',
],
}]
],