diff options
author | Alan Third <alan@idiocy.org> | 2017-07-06 23:10:49 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2017-08-16 20:56:55 +0100 |
commit | 69f2b755f44a5e447b3ad482ce0b409764fa10e6 (patch) | |
tree | 10765f8a1a48d03ed87f02321f0928e21c2567cf /lib/fcntl.in.h | |
parent | 3505b77ad7b54e5208685b6e229c76387120d5a1 (diff) | |
download | emacs-69f2b755f44a5e447b3ad482ce0b409764fa10e6.tar.gz emacs-69f2b755f44a5e447b3ad482ce0b409764fa10e6.tar.bz2 emacs-69f2b755f44a5e447b3ad482ce0b409764fa10e6.zip |
Allow use of run-time OS version checks on macOS (bug#27810)
* src/nsterm.h (NSWindowTabbingMode): Define in pre-Sierra macOS.
(MAC_OS_X_VERSION_10_6, MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8,
MAC_OS_X_VERSION_10_9, MAC_OS_X_VERSION_10_12, HAVE_NATIVE_FS): Remove
defines.
(NSWindowStyleMaskFullScreen,
NSWindowCollectionBehaviorFullScreenPrimary,
NSApplicationPresentationFullScreen,
NSApplicationPresentationAutoHideToolbar): Define in macOS 10.6.
* src/nsterm.m (colorForEmacsRed, colorUsingDefaultColorSpace,
check_native_fs, ns_read_socket, ns_select, runAlertPanel,
initFrameFromEmacs, windowDidMiniaturize, windowDidEnterFullScreen,
windowDidExitFullScreen, isFullscreen, updateCollectionBehavior,
toggleFullScreen, constrainFrameRect, scrollerWidth, syms_of_nsterm):
Allow use of run-time checks and replace version check macros.
* src/nsfns.m (ns_screen_name): Use run-time OS version checks.
* src/macfont.m (macfont_draw): Use run-time OS version checks.
* src/nsmenu.m (menuWillOpen): Use run-time OS version checks.
Co-authored-by: Charles A. Roelli <charles@aurox.ch>
Diffstat (limited to 'lib/fcntl.in.h')
0 files changed, 0 insertions, 0 deletions