aboutsummaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2015-01-19 17:25:23 +0100
committerBert Belder <bertbelder@gmail.com>2015-01-19 20:12:12 +0100
commit4af5746993a6b91c88973b6debcee19c6cd35185 (patch)
tree9155c6dacce0f99c2145798e394943e23f955a35 /node.gyp
parente8d08503c7821e8c92e9fa236ed7328e9bdfe62a (diff)
downloadandroid-node-v8-4af5746993a6b91c88973b6debcee19c6cd35185.tar.gz
android-node-v8-4af5746993a6b91c88973b6debcee19c6cd35185.tar.bz2
android-node-v8-4af5746993a6b91c88973b6debcee19c6cd35185.zip
win,build: remove duplicate definition
The duplicate warning was fixed by e1fe270, but returned as of 9f45799. Hopefully this will fix the issue for good. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 2d612b61be..b00ab2937c 100644
--- a/node.gyp
+++ b/node.gyp
@@ -322,6 +322,9 @@
'sources': [
'src/res/node.rc',
],
+ 'defines!': [
+ 'NODE_PLATFORM="win"',
+ ],
'defines': [
'FD_SETSIZE=1024',
# we need to use node's preferred "win32" rather than gyp's preferred "win"