🍎 skip tabbing category if macOS < Sierra

Previously, the macro was ensuring the` MAC_OS_X_VERSION_10_12` was not defined to decide to compile a `NSWindow` category back porting native tabs or not.

This patch ensures to compile the `NSWindow` category only if the min required version is lesser than 1012 (`MAC_OS_X_VERSION_10_12`)
This commit is contained in:
Antoine 2017-10-05 14:11:58 -07:00 committed by GitHub
parent d7aa0b0ddb
commit 8e1945f768

View file

@ -465,7 +465,7 @@ bool ScopedDisableResize::disable_resize_ = false;
@end
#if !defined(MAC_OS_X_VERSION_10_12)
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1012 // MAC_OS_X_VERSION_10_12
enum {
NSWindowTabbingModeDisallowed = 2