fixed: trying to fix the build
This commit is contained in:
parent
8e1945f768
commit
5e6b683cfb
1 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "atom/browser/native_window_mac.h"
|
#include "atom/browser/native_window_mac.h"
|
||||||
|
|
||||||
|
#include <AvailabilityMacros.h>
|
||||||
#include <Quartz/Quartz.h>
|
#include <Quartz/Quartz.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -465,7 +466,7 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1012 // MAC_OS_X_VERSION_10_12
|
#if !defined(AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER)
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
NSWindowTabbingModeDisallowed = 2
|
NSWindowTabbingModeDisallowed = 2
|
||||||
|
@ -482,7 +483,7 @@ enum {
|
||||||
- (IBAction)toggleTabBar:(id)sender;
|
- (IBAction)toggleTabBar:(id)sender;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif // MAC_OS_X_VERSION_10_12
|
#endif
|
||||||
|
|
||||||
@interface AtomNSWindow : EventDispatchingWindow<QLPreviewPanelDataSource, QLPreviewPanelDelegate, NSTouchBarDelegate> {
|
@interface AtomNSWindow : EventDispatchingWindow<QLPreviewPanelDataSource, QLPreviewPanelDelegate, NSTouchBarDelegate> {
|
||||||
@private
|
@private
|
||||||
|
|
Loading…
Reference in a new issue