diff options
author | Yee Cheng Chin <ychin.git@gmail.com> | 2022-10-08 13:50:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-08 13:50:05 +0100 |
commit | 4314e4f7da4db5d85f63cdf43b73be3689502c93 (patch) | |
tree | 37d2f5ae97f68da5ca3e0edc8ac6d6aa6b06d8e3 /src/ui.c | |
parent | 5a049846e4c54d70094c3f29ffbd340c75e9c50e (diff) |
patch 9.0.0694: no native sound support on Mac OSv9.0.0694
Problem: No native sound support on Mac OS.
Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -460,7 +460,7 @@ ui_wait_for_chars_or_timer( } if (due_time <= 0 || (wtime > 0 && due_time > remaining)) due_time = remaining; -# if defined(FEAT_JOB_CHANNEL) || defined(FEAT_SOUND_CANBERRA) +# if defined(FEAT_JOB_CHANNEL) || defined(FEAT_SOUND_CANBERRA) || defined(FEAT_SOUND_MACOSX) if ((due_time < 0 || due_time > 10L) && ( # if defined(FEAT_JOB_CHANNEL) ( @@ -468,11 +468,11 @@ ui_wait_for_chars_or_timer( !gui.in_use && # endif (has_pending_job() || channel_any_readahead())) -# ifdef FEAT_SOUND_CANBERRA +# if defined(FEAT_SOUND_CANBERRA) || defined(FEAT_SOUND_MACOSX) || # endif # endif -# ifdef FEAT_SOUND_CANBERRA +# if defined(FEAT_SOUND_CANBERRA) || defined(FEAT_SOUND_MACOSX) has_any_sound_callback() # endif )) |