Patch v8 build for solaris

Submitted this patch to V8
http://codereview.chromium.org/1990010/show
pull/22966/head
Ryan Dahl 2010-05-10 16:25:43 -07:00
parent 615d890622
commit 35dd0fb271
2 changed files with 3 additions and 6 deletions

3
deps/v8/SConstruct vendored
View File

@ -179,6 +179,9 @@ LIBRARY_FLAGS = {
'CCFLAGS': ['-ansi'],
},
'os:solaris': {
# On Solaris, to get isinf, INFINITY, fpclassify and other macros one
# needs to define __C99FEATURES__.
'CPPDEFINES': ['__C99FEATURES__'],
'CPPPATH' : ['/usr/local/include'],
'LIBPATH' : ['/usr/local/lib'],
'CCFLAGS': ['-ansi'],

View File

@ -44,12 +44,6 @@
#ifndef V8_PLATFORM_H_
#define V8_PLATFORM_H_
#ifdef __sun
// On Solaris, to get isinf, INFINITY, fpclassify and other macros one needs
// to define this symbol
#define __C99FEATURES__ 1
#endif
#define V8_INFINITY INFINITY
// Windows specific stuff.