2006-04-04 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Fix win32 build.
Disable ASSERT redefinition warnings for now.
* JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
* kxmlcore/Assertions.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/kxmlcore/Assertions.h b/JavaScriptCore/kxmlcore/Assertions.h
index 0b45020..d787d5a 100644
--- a/JavaScriptCore/kxmlcore/Assertions.h
+++ b/JavaScriptCore/kxmlcore/Assertions.h
@@ -98,6 +98,11 @@
// ASSERT, ASSERT_WITH_MESSAGE, ASSERT_NOT_REACHED
+#if PLATFORM(WIN_OS)
+// FIXME: Change to use something other than ASSERT to avoid this conflict with win32.
+#undef ASSERT
+#endif
+
#if ASSERT_DISABLED
#define ASSERT(assertion) ((void)0)