From: Steve Lamerton Date: Sat, 20 Aug 2011 09:50:00 +0000 (+0000) Subject: Another compilation fix for OSX 10.5 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/392594bb413e3aeec95d8562a2af8b5b4b3e5bef 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 --- 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;