]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1910: Mac OS X: missing sound support on older versions v9.0.1910
authorSevan Janiyan <venture37@geeklan.co.uk>
Mon, 18 Sep 2023 18:04:32 +0000 (20:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 18 Sep 2023 18:04:32 +0000 (20:04 +0200)
commit063c562a3715e9fce21b791ad4c8980b09b64a89
treee7adc3b81d21e4c64426f974ba911acab6999b4b
parent00cd18222ee1551c65228e9556c158624507fc7a
patch 9.0.1910: Mac OS X: missing sound support on older versions

Problem:  Mac OS X: missing sound support on older versions
Solution: Check Macro MAC_OS_X_VERSION_MIN_REQUIRED

Extend guard for sound support on OS X

Fixes build on legacy versions where required coreaudio functionality
may not be available. NSSoundDelegate apparently was introduced in Snow
Leopard yet the build breaks on it. Guarding off enabling sound support
to El Capitan as that's the next version I had access to for testing (it
may work on earlier versions)
https://developer.apple.com/documentation/appkit/nssounddelegate Vim
builds on OS X Tiger 10.4 and newer with this change.

closes: #13115

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Sevan Janiyan <venture37@geeklan.co.uk>
src/version.c
src/vim.h