From: Alan Third Date: Tue, 25 Apr 2017 20:44:40 +0000 (+0100) Subject: Fix define for GNUstep builds X-Git-Tag: emacs-26.0.90~521^2~549 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f0424b131583e92939d2c3591e3c2f56d8e547aa;p=emacs.git Fix define for GNUstep builds * src/nsterm.m (initFrameFromEmacs): Fix the ifdef so that GNUstep doesn't see the code. --- 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