macos 10.15 build
adapt to removed headers, add version defines
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
# ifndef MAC_OS_X_VERSION_10_13
|
||||
# define MAC_OS_X_VERSION_10_13 101300
|
||||
# endif
|
||||
# ifndef MAC_OS_X_VERSION_10_14
|
||||
# define MAC_OS_X_VERSION_10_14 101400
|
||||
# endif
|
||||
# ifndef MAC_OS_X_VERSION_10_15
|
||||
# define MAC_OS_X_VERSION_10_15 101500
|
||||
# endif
|
||||
# if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_13
|
||||
# ifndef NSAppKitVersionNumber10_10
|
||||
# define NSAppKitVersionNumber10_10 1343
|
||||
|
@@ -21,8 +21,10 @@
|
||||
#include "wx/osx/private.h"
|
||||
|
||||
#include <WebKit/WebKit.h>
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
|
||||
#include <WebKit/HIWebView.h>
|
||||
#include <WebKit/CarbonUtils.h>
|
||||
#endif
|
||||
|
||||
#include "wx/html/webkit.h"
|
||||
|
||||
|
@@ -33,9 +33,11 @@
|
||||
#include <UIKit/UIWebView.h>
|
||||
#else
|
||||
#include <WebKit/WebKit.h>
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
|
||||
#include <WebKit/HIWebView.h>
|
||||
#include <WebKit/CarbonUtils.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <Foundation/NSURLError.h>
|
||||
|
||||
// using native types to get compile errors and warnings
|
||||
|
Reference in New Issue
Block a user