diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi index 4e896e019a8..6b6e00272d9 100644 --- a/deps/v8/build/common.gypi +++ b/deps/v8/build/common.gypi @@ -184,6 +184,9 @@ }], ], }], + ['OS=="solaris"', { + 'defines': [ '__C99FEATURES__=1' ], # isinf() etc. + }], ], 'configurations': { 'Debug': { diff --git a/deps/v8/tools/gyp/v8-node.gyp b/deps/v8/tools/gyp/v8-node.gyp index f2b3a337bd8..3b067a5f560 100644 --- a/deps/v8/tools/gyp/v8-node.gyp +++ b/deps/v8/tools/gyp/v8-node.gyp @@ -3,11 +3,4 @@ '../../build/common.gypi', 'v8.gyp' ], - 'target_defaults': { - 'conditions': [ - [ 'OS=="solaris"', { - 'defines': [ '__C99FEATURES__=1' ], - }], - ], - }, }