]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix define for GNUstep builds
authorAlan Third <alan@idiocy.org>
Tue, 25 Apr 2017 20:44:40 +0000 (21:44 +0100)
committerAlan Third <alan@idiocy.org>
Tue, 25 Apr 2017 20:47:27 +0000 (21:47 +0100)
* src/nsterm.m (initFrameFromEmacs): Fix the ifdef so that GNUstep
doesn't see the code.

src/nsterm.m

index f5232d77dd722e5e3eea614508814a7dd097fe23..9c60740e6614c544b0f2953d1595f97be968492e 100644 (file)
@@ -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