Recent Xcode versions badly define MAC_OS_X_VERSION_MAX_ALLOWED
and the correct information is in __MAC_OS_X_VERSION_MAX_ALLOWED
This commit is contained in:
parent
e138814257
commit
b8bf13ec65
@ -49,6 +49,10 @@ extern "C" {
|
|||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
#ifdef __MAC_OS_X_VERSION_MAX_ALLOWED
|
||||||
|
# undef MAC_OS_X_VERSION_MAX_ALLOWED
|
||||||
|
# define MAC_OS_X_VERSION_MAX_ALLOWED __MAC_OS_X_VERSION_MAX_ALLOWED
|
||||||
|
#endif
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_VERSION_15_0
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_VERSION_15_0
|
||||||
# import <ScreenCaptureKit/ScreenCaptureKit.h>
|
# import <ScreenCaptureKit/ScreenCaptureKit.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user