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 a4dbd35b40c18e1de9fc37c4e2875b4293792f2e..171fbadb52ca1a6a37a5265e5c9e78fcbed9a28c 100644 (file)
@@ -1,3 +1,12 @@
+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
 2007-11-08  Adam Roben  <aroben@apple.com>
 
         Fix a precedence warning on Windows
index 52010a288f0423d02f4299b3ac9ddaa9eb9fda3a..0d5d19440240c1b7817cf8f4c45b551f2a310dbb 100644 (file)
@@ -33,7 +33,6 @@
 #if COMPILER(MSVC)
 
 #include "kjs/operations.h"
 #if COMPILER(MSVC)
 
 #include "kjs/operations.h"
-#include "kjs/value.h"
 #include <xmath.h>
 #include <limits>
 
 #include <xmath.h>
 #include <limits>
 
 #include <float.h>
 #endif
 
 #include <float.h>
 #endif
 
+namespace KJS {
+    extern const double NaN;
+}
+
 #endif
 
 #ifndef M_PI
 #endif
 
 #ifndef M_PI