patches/webkit-24-MathExtras.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 3325 33ece2659d50
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3325
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     1
--- webkit-1.2.7/JavaScriptCore/wtf/MathExtras.h	Fri Sep 10 15:20:23 2010
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     2
+++ webkit-1.2.7-patch/JavaScriptCore/wtf/MathExtras.h	Sat Mar 19 23:28:55 2011
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     3
@@ -32,6 +32,7 @@
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     4
 
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     5
 #if OS(SOLARIS)
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     6
 #include <ieeefp.h>
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     7
+#include <math.h>
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     8
 #endif
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
     9
 
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
    10
 #if OS(OPENBSD)
33ece2659d50 SFEwebkitgtk.spec: bump to 1.2.7
jurikm
parents: 2650
diff changeset
    11
@@ -188,7 +189,7 @@
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    12
 inline float rad2grad(float r) { return r * 200.0f / piFloat; }
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    13
 inline float grad2rad(float g) { return g * piFloat / 200.0f; }
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    14
 
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    15
-#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(ANDROID) && !COMPILER(WINSCW)
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    16
+#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(ANDROID) && !COMPILER(WINSCW) && !COMPILER(SUNCC)
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    17
 using std::isfinite;
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    18
 using std::isinf;
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents:
diff changeset
    19
 using std::isnan;