Mercurial > vim
diff src/vim.h @ 30719:71137f73c94d v9.0.0694
patch 9.0.0694: no native sound support on Mac OS
Commit: https://github.com/vim/vim/commit/4314e4f7da4db5d85f63cdf43b73be3689502c93
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Sat Oct 8 13:50:05 2022 +0100
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 https://github.com/vim/vim/issues/11274)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Oct 2022 15:00:05 +0200 |
parents | 22de625d0cd8 |
children | 82e62fd4eae9 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -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.