diff options
author | Alan Third <alan@idiocy.org> | 2017-04-25 21:44:40 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2017-04-25 21:47:27 +0100 |
commit | f0424b131583e92939d2c3591e3c2f56d8e547aa (patch) | |
tree | 141dcae3bcc43499f4a17f0a8f0aae351f0db3c3 /src | |
parent | fe2ba41f184c436cad47cfb735f1bebd22148f60 (diff) | |
download | emacs-f0424b131583e92939d2c3591e3c2f56d8e547aa.tar.gz |
Fix define for GNUstep builds
* src/nsterm.m (initFrameFromEmacs): Fix the ifdef so that GNUstep
doesn't see the code.
Diffstat (limited to 'src')
-rw-r--r-- | src/nsterm.m | 3 |
1 files changed, 2 insertions, 1 deletions
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 |