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
diff options
context:
space:
mode:
authorNathan Rajlich <nathan@tootallnate.net>2012-01-12 02:44:39 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-12 18:11:02 +0400
commitf2ba4cef2af79b89b0b1a201496ee134f4891b7f (patch)
tree3fa064d1fd1d75fccf32d78c9d7dddb1635570c1 /node.gyp
parent9ff86a2848c2e047ac05dd0fb6f584d8e3111ab7 (diff)
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 31235375454..343a5e93b60 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"',