2006-05-26 Steve Falkenburg <sfalken@apple.com>
Reviewed by adele.
Fix build
* WebCore.vcproj/WebCore/WebCore.vcproj:
* config.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/config.h b/WebCore/config.h
index 7d0b609..d558ab9 100644
--- a/WebCore/config.h
+++ b/WebCore/config.h
@@ -39,8 +39,21 @@
#if WIN32
-#define WINVER 0x0500
+#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
+#endif
+
+#ifndef WINVER
+#define WINVER 0x0500
+#endif
+
+#ifndef _HAS_EXCEPTIONS
+#define _HAS_EXCEPTIONS 0
+#endif
+
+#ifndef _SECURE_SCL_DEPRECATE
+#define _SECURE_SCL_DEPRECATE 0
+#endif
// Hack to match configuration of JavaScriptCore.
// Maybe there's a better way to do this.