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
|
# ifndef MAC_OS_X_VERSION_10_13
|
||||||
# define MAC_OS_X_VERSION_10_13 101300
|
# define MAC_OS_X_VERSION_10_13 101300
|
||||||
# endif
|
# 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
|
# if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_13
|
||||||
# ifndef NSAppKitVersionNumber10_10
|
# ifndef NSAppKitVersionNumber10_10
|
||||||
# define NSAppKitVersionNumber10_10 1343
|
# define NSAppKitVersionNumber10_10 1343
|
||||||
|
@@ -21,8 +21,10 @@
|
|||||||
#include "wx/osx/private.h"
|
#include "wx/osx/private.h"
|
||||||
|
|
||||||
#include <WebKit/WebKit.h>
|
#include <WebKit/WebKit.h>
|
||||||
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
|
||||||
#include <WebKit/HIWebView.h>
|
#include <WebKit/HIWebView.h>
|
||||||
#include <WebKit/CarbonUtils.h>
|
#include <WebKit/CarbonUtils.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/html/webkit.h"
|
#include "wx/html/webkit.h"
|
||||||
|
|
||||||
|
@@ -33,8 +33,10 @@
|
|||||||
#include <UIKit/UIWebView.h>
|
#include <UIKit/UIWebView.h>
|
||||||
#else
|
#else
|
||||||
#include <WebKit/WebKit.h>
|
#include <WebKit/WebKit.h>
|
||||||
#include <WebKit/HIWebView.h>
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
|
||||||
#include <WebKit/CarbonUtils.h>
|
#include <WebKit/HIWebView.h>
|
||||||
|
#include <WebKit/CarbonUtils.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#include <Foundation/NSURLError.h>
|
#include <Foundation/NSURLError.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user