macos 10.15 build
adapt to removed headers, add version defines
This commit is contained in:
parent
88f04f551e
commit
0044bf4a7a
3 changed files with 12 additions and 2 deletions
|
|
@ -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,8 +33,10 @@
|
|||
#include <UIKit/UIWebView.h>
|
||||
#else
|
||||
#include <WebKit/WebKit.h>
|
||||
#include <WebKit/HIWebView.h>
|
||||
#include <WebKit/CarbonUtils.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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue