joyent/node — pull request #2519 by TooTallNate (2012-01-11 22:42:20+00:00)
Title: Set `process.platform` to "darwin" on OS X.

This is consistent with the old waf build system, and doesn't break old scripts that are expecting the value to be "darwin".

Fixes #2518.