Windows build fix
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 20:22:38 +0000 (20:22 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 20:22:38 +0000 (20:22 +0000)
        Reviewed by Sam and Ada.

        * wtf/MathExtras.h: Get rid of a circular #include dependency to fix
        the build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27607 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/MathExtras.h

index a4dbd35..171fbad 100644 (file)
@@ -1,5 +1,14 @@
 2007-11-08  Adam Roben  <aroben@apple.com>
 
+        Windows build fix
+
+        Reviewed by Sam and Ada.
+
+        * wtf/MathExtras.h: Get rid of a circular #include dependency to fix
+        the build.
+
+2007-11-08  Adam Roben  <aroben@apple.com>
+
         Fix a precedence warning on Windows
 
         * kjs/JSImmediate.h:
index 52010a2..0d5d194 100644 (file)
@@ -33,7 +33,6 @@
 #if COMPILER(MSVC)
 
 #include "kjs/operations.h"
-#include "kjs/value.h"
 #include <xmath.h>
 #include <limits>
 
 #include <float.h>
 #endif
 
+namespace KJS {
+    extern const double NaN;
+}
+
 #endif
 
 #ifndef M_PI