Build fix.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Oct 2006 18:58:38 +0000 (18:58 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Oct 2006 18:58:38 +0000 (18:58 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17217 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/WebCoreSupport/WebEditorClient.mm
WebKit/WebView/WebView.m

index 05062adaba16204bb4c4775455ea45926e5088e4..1479934fd44073c5242e39a3c331869f7ccfdf47 100644 (file)
@@ -28,6 +28,8 @@
 
 #import "WebEditorClient.h"
 
+#import <WebKit/DOMHTMLElement.h>
+#import <WebKit/DOMRange.h>
 #import "WebView.h"
 #import "WebViewInternal.h"
 #import "WebEditingDelegate.h"
index 9f2bb05d4feef31cac5c901f1d59728930eb0ee5..6a840e3f59ef0d616eb9553ba57614066ae3c532 100644 (file)
 
 #import <WebCore/WebCoreTextRenderer.h>
 
+/* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */
+#undef try
+#undef catch
+
 #if defined(__ppc__) || defined(__ppc64__)
 #define PROCESSOR "PPC"
 #elif defined(__i386__) || defined(__x86_64__)