From f0424b131583e92939d2c3591e3c2f56d8e547aa Mon Sep 17 00:00:00 2001 From: Alan Third Date: Tue, 25 Apr 2017 21:44:40 +0100 Subject: [PATCH] Fix define for GNUstep builds * src/nsterm.m (initFrameFromEmacs): Fix the ifdef so that GNUstep doesn't see the code. --- src/nsterm.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index f5232d77dd7..9c60740e661 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -7028,7 +7028,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 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12 +#if defined (NS_IMPL_COCOA) && \ + MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12 [win setTabbingMode: NSWindowTabbingModeDisallowed]; #endif -- 2.39.2