Skip to content

Commit c83901a

Browse files
committed
Enable +sound for legacy builds (10.9-10.12) until fixed upstream
The ifdef check used in upstream Vim is too tight. Disable it for now. See vim/vim#13115
1 parent 4c7c622 commit c83901a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/vim.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,11 @@
173173
# if defined(FEAT_NORMAL) && !defined(FEAT_CLIPBOARD)
174174
# define FEAT_CLIPBOARD
175175
# endif
176-
# if defined(FEAT_HUGE) && !defined(FEAT_SOUND) && \
177-
defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \
178-
MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
176+
// MacVim: Disabling the version check which is too strict. Pending upstream fix.
177+
//# if defined(FEAT_HUGE) && !defined(FEAT_SOUND) && \
178+
// defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \
179+
// MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
180+
# if defined(FEAT_HUGE) && !defined(FEAT_SOUND)
179181
# define FEAT_SOUND
180182
# endif
181183
# if defined(FEAT_SOUND)

0 commit comments

Comments
 (0)