From 392594bb413e3aeec95d8562a2af8b5b4b3e5bef Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Sat, 20 Aug 2011 09:50:00 +0000 Subject: [PATCH] Another compilation fix for OSX 10.5 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/webview_webkit.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osx/webview_webkit.mm b/src/osx/webview_webkit.mm index eaadf3e208..0d0e0e72e3 100644 --- a/src/osx/webview_webkit.mm +++ b/src/osx/webview_webkit.mm @@ -1062,7 +1062,9 @@ wxString nsErrorToWxHtmlError(NSError* error, wxWebViewNavigationError* out) case NSURLErrorResourceUnavailable: case NSURLErrorHTTPTooManyRedirects: +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 case NSURLErrorDataLengthExceedsMaximum: +#endif case NSURLErrorBadURL: case NSURLErrorFileIsDirectory: *out = wxWEB_NAV_ERR_REQUEST; -- 2.50.0