0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.0694: no native sound support on Mac OS

Problem:    No native sound support on Mac OS.
Solution:   Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
This commit is contained in:
Yee Cheng Chin
2022-10-08 13:50:05 +01:00
committed by Bram Moolenaar
parent 5a049846e4
commit 4314e4f7da
14 changed files with 264 additions and 35 deletions

View File

@@ -163,9 +163,16 @@
*/
#include "feature.h"
#if defined(MACOS_X_DARWIN) && defined(FEAT_NORMAL) \
&& !defined(FEAT_CLIPBOARD)
# define FEAT_CLIPBOARD
#if defined(MACOS_X_DARWIN)
# if defined(FEAT_NORMAL) && !defined(FEAT_CLIPBOARD)
# define FEAT_CLIPBOARD
# endif
# if defined(FEAT_BIG) && !defined(FEAT_SOUND)
# define FEAT_SOUND
# endif
# if defined(FEAT_SOUND)
# define FEAT_SOUND_MACOSX
# endif
#endif
// +x11 is only enabled when it's both available and wanted.