Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: set process.platform to "sunos" on SunOS
Browse files Browse the repository at this point in the history
gyp sets it to "solaris" by default, but versions of node v0.6.x and
older would report "sunos". Let's keep things consistent.

Fixes #3944.
  • Loading branch information
TooTallNate committed Aug 29, 2012
1 parent a57d315 commit 355c148
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions node.gyp
Expand Up @@ -228,6 +228,14 @@
'-lkstat',
'-lumem',
],
'defines!': [
'PLATFORM="solaris"',
],
'defines': [
# we need to use node's preferred "sunos"
# rather than gyp's preferred "solaris"
'PLATFORM="sunos"',
],
}],
],
'msvs-settings': {
Expand Down

0 comments on commit 355c148

Please sign in to comment.