Commit b8f5c5e1 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Move __C99FEATURES__ define to compile for Solaris

Patch from ry.
http://codereview.chromium.org/1990010/show

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b49b954d
......@@ -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'],
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment