From 92ec47981acd353658782ce2e094e9f270d8bd8d Mon Sep 17 00:00:00 2001 From: Alan Third Date: Mon, 17 Aug 2020 20:58:47 +0100 Subject: [PATCH] Get rid of build-time checks around NS tabbar code (bug#33118) * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Get rid of version checks. --- src/nsterm.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/nsterm.m b/src/nsterm.m index c1d133a00e5..98c5b69d681 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -7669,11 +7669,8 @@ not_in_argv (NSString *arg) /* macOS Sierra automatically enables tabbed windows. We can't allow this to be enabled until it's available on a Free system. Currently it only happens by accident and is buggy anyway. */ -#if defined (NS_IMPL_COCOA) \ - && MAC_OS_X_VERSION_MAX_ALLOWED >= 101200 -#if MAC_OS_X_VERSION_MIN_REQUIRED < 101200 +#ifdef NS_IMPL_COCOA if ([win respondsToSelector: @selector(setTabbingMode:)]) -#endif [win setTabbingMode: NSWindowTabbingModeDisallowed]; #endif -- 2.39.5