* kxmlcore/Vector.h: Quick fix to try to get Windows compiling again.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Mar 2006 09:08:43 +0000 (09:08 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Mar 2006 09:08:43 +0000 (09:08 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kxmlcore/Vector.h

index ad92c4fad677b4180b4398b0297e57f44bbf12f0..e6506af1f9e77f9e72df55d010a5794f66fd7534 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-07  Darin Adler  <darin@apple.com>
+
+        * kxmlcore/Vector.h: Quick fix to try to get Windows compiling again.
+
 2006-03-07  Darin Adler  <darin@apple.com>
 
         Reviewed by Anders.
index 2845ee441f256c4890d5ba83407f05974eec6b90..99ef990b1198f39355a4fbbbc8f375b5e5d66395 100644 (file)
 #include <stdlib.h>
 #include <utility>
 
+// Temporary workaround for Win32.
+// We should use NOMINMAX instead.
+#undef max
+
 namespace KXMLCore {
 
     using std::min;