3325
|
1 |
--- webkit-1.2.7/JavaScriptCore/wtf/MathExtras.h Fri Sep 10 15:20:23 2010
|
|
2 |
+++ webkit-1.2.7-patch/JavaScriptCore/wtf/MathExtras.h Sat Mar 19 23:28:55 2011
|
|
3 |
@@ -32,6 +32,7 @@
|
|
4 |
|
|
5 |
#if OS(SOLARIS)
|
|
6 |
#include <ieeefp.h>
|
|
7 |
+#include <math.h>
|
|
8 |
#endif
|
|
9 |
|
|
10 |
#if OS(OPENBSD)
|
|
11 |
@@ -188,7 +189,7 @@
|
2650
|
12 |
inline float rad2grad(float r) { return r * 200.0f / piFloat; }
|
|
13 |
inline float grad2rad(float g) { return g * piFloat / 200.0f; }
|
|
14 |
|
|
15 |
-#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(ANDROID) && !COMPILER(WINSCW)
|
|
16 |
+#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(ANDROID) && !COMPILER(WINSCW) && !COMPILER(SUNCC)
|
|
17 |
using std::isfinite;
|
|
18 |
using std::isinf;
|
|
19 |
using std::isnan;
|