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

Commit

Permalink
Browse files Browse the repository at this point in the history
build: set process.platform to "sunos" on SunOS
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 4784ea1 commit 606a933
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions node.gyp
Expand Up @@ -227,6 +227,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 606a933

Please sign in to comment.