From 4af5746993a6b91c88973b6debcee19c6cd35185 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 19 Jan 2015 17:25:23 +0100 Subject: [PATCH] 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 --- node.gyp | 3 +++ 1 file changed, 3 insertions(+) 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"