From f2ba4cef2af79b89b0b1a201496ee134f4891b7f Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Wed, 11 Jan 2012 14:44:39 -0800 Subject: [PATCH] build: remove the old -DPLATFORM="mac" define To prevent redefinition warnings. --- node.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node.gyp b/node.gyp index 3123537545..343a5e93b6 100644 --- a/node.gyp +++ b/node.gyp @@ -178,6 +178,9 @@ }], [ 'OS=="mac"', { 'libraries': [ '-framework Carbon' ], + 'defines!': [ + 'PLATFORM="mac"', + ], 'defines': [ # we need to use node's preferred "darwin" rather than gyp's preferred "mac" 'PLATFORM="darwin"',