diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-09-02 14:39:04 +0000 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-17 19:39:39 +0100 |
commit | 2c52ccea80e74d813ba678ad2f39bd2079c73bf7 (patch) | |
tree | c24fc2a4341b8e04eed87753a4f54190d3a687c2 /deps | |
parent | 960ccdc72cefa9c7b9e588a1d149a1dba7a0c296 (diff) | |
download | node-new-2c52ccea80e74d813ba678ad2f39bd2079c73bf7.tar.gz |
v8: compile with __C99FEATURES__=1 on sunos
Exposes INFINITY, isinf(), isfinite(), etc.
Re-applies d104e5b91cfa3ef3ef846d5a0ab07c0336263a92, lost in a V8 upgrade.
Diffstat (limited to 'deps')
-rw-r--r-- | deps/v8/tools/gyp/v8-node.gyp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/v8/tools/gyp/v8-node.gyp b/deps/v8/tools/gyp/v8-node.gyp index 3b067a5f56..f2b3a337bd 100644 --- a/deps/v8/tools/gyp/v8-node.gyp +++ b/deps/v8/tools/gyp/v8-node.gyp @@ -3,4 +3,11 @@ '../../build/common.gypi', 'v8.gyp' ], + 'target_defaults': { + 'conditions': [ + [ 'OS=="solaris"', { + 'defines': [ '__C99FEATURES__=1' ], + }], + ], + }, } |