summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorNathan Rajlich <nathan@tootallnate.net>2012-01-11 14:44:39 -0800
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-12 15:11:02 +0100
commitf2ba4cef2af79b89b0b1a201496ee134f4891b7f (patch)
tree3fa064d1fd1d75fccf32d78c9d7dddb1635570c1 /node.gyp
parent9ff86a2848c2e047ac05dd0fb6f584d8e3111ab7 (diff)
downloadnode-new-f2ba4cef2af79b89b0b1a201496ee134f4891b7f.tar.gz
build: remove the old -DPLATFORM="mac" define
To prevent redefinition warnings.
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 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"',