emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f0424b1: Fix define for GNUstep builds


From: Alan Third
Subject: [Emacs-diffs] master f0424b1: Fix define for GNUstep builds
Date: Tue, 25 Apr 2017 16:47:50 -0400 (EDT)

branch: master
commit f0424b131583e92939d2c3591e3c2f56d8e547aa
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>

    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 f5232d7..9c60740 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]