From 5e6b683cfb432b02d567eefdb9ee7921fbf4bad0 Mon Sep 17 00:00:00 2001 From: Antoine Date: Thu, 5 Oct 2017 15:57:27 -0700 Subject: [PATCH] fixed: trying to fix the build --- atom/browser/native_window_mac.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 4a6fa9fe2bb7..80554a37a6d3 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -4,6 +4,7 @@ #include "atom/browser/native_window_mac.h" +#include #include #include @@ -465,7 +466,7 @@ bool ScopedDisableResize::disable_resize_ = false; @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 { NSWindowTabbingModeDisallowed = 2 @@ -482,7 +483,7 @@ enum { - (IBAction)toggleTabBar:(id)sender; @end -#endif // MAC_OS_X_VERSION_10_12 +#endif @interface AtomNSWindow : EventDispatchingWindow { @private