build: fix `process.platform`
authorVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Fri, 9 Jan 2015 12:38:09 +0000 (15:38 +0300)
committerBert Belder <bertbelder@gmail.com>
Fri, 9 Jan 2015 18:52:51 +0000 (19:52 +0100)
commit9f45799dd249878de8827d911a8e01bebcb4e4ba
treedfa47b50976e1e67f0db01f8ba54bca615996690
parentbe2404e0d3e3e4e46e5209f60bca0591a4e47939
build: fix `process.platform`

e1fe270 introduces the NODE_PLATFORM macro which had to be redefined in
node.gyp for `process.platform` to return expected values.

PR-URL: https://github.com/iojs/io.js/pull/271
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Bert Belder <bertbelder@gmail.com>
node.gyp
src/node.cc