v8: move __C99FEATURES__=1 into common.gypi
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 12 Sep 2011 22:52:56 +0000 (22:52 +0000)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 12 Sep 2011 22:52:56 +0000 (22:52 +0000)
deps/v8/build/common.gypi
deps/v8/tools/gyp/v8-node.gyp

index 4e896e0..6b6e002 100644 (file)
           }],
         ],
       }],
+      ['OS=="solaris"', {
+        'defines': [ '__C99FEATURES__=1' ], # isinf() etc.
+      }],
     ],
     'configurations': {
       'Debug': {
index f2b3a33..3b067a5 100644 (file)
@@ -3,11 +3,4 @@
     '../../build/common.gypi',
     'v8.gyp'
   ],
-  'target_defaults': {
-    'conditions': [
-      [ 'OS=="solaris"', {
-        'defines': [ '__C99FEATURES__=1' ],
-      }],
-    ],
-  },
 }