mirror of https://github.com/nodejs/node.git
Patch v8 build for solaris
Submitted this patch to V8 http://codereview.chromium.org/1990010/showpull/22966/head
parent
615d890622
commit
35dd0fb271
|
@ -179,6 +179,9 @@ LIBRARY_FLAGS = {
|
||||||
'CCFLAGS': ['-ansi'],
|
'CCFLAGS': ['-ansi'],
|
||||||
},
|
},
|
||||||
'os:solaris': {
|
'os:solaris': {
|
||||||
|
# On Solaris, to get isinf, INFINITY, fpclassify and other macros one
|
||||||
|
# needs to define __C99FEATURES__.
|
||||||
|
'CPPDEFINES': ['__C99FEATURES__'],
|
||||||
'CPPPATH' : ['/usr/local/include'],
|
'CPPPATH' : ['/usr/local/include'],
|
||||||
'LIBPATH' : ['/usr/local/lib'],
|
'LIBPATH' : ['/usr/local/lib'],
|
||||||
'CCFLAGS': ['-ansi'],
|
'CCFLAGS': ['-ansi'],
|
||||||
|
|
|
@ -44,12 +44,6 @@
|
||||||
#ifndef V8_PLATFORM_H_
|
#ifndef V8_PLATFORM_H_
|
||||||
#define 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
|
#define V8_INFINITY INFINITY
|
||||||
|
|
||||||
// Windows specific stuff.
|
// Windows specific stuff.
|
||||||
|
|
Loading…
Reference in New Issue