summaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-15 23:05:49 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-15 23:05:49 +0200
commit28e67e0c1496b7bb166a0acfb176690f219101ca (patch)
treeb30fcbc9fd72f4aed6135478113fcd6dadf37912 /src/feature.h
parent5dd143e22333a1c320fcf330f6c5061269bd1a17 (diff)
downloadvim-git-28e67e0c1496b7bb166a0acfb176690f219101ca.tar.gz
patch 8.1.1851: crash when sound_playfile() callback plays soundv8.1.1851
Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index 89d6caef4..64689c96d 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -666,6 +666,9 @@
#if !defined(FEAT_SOUND) && defined(HAVE_CANBERRA)
# define FEAT_SOUND
#endif
+#if defined(FEAT_SOUND) && defined(HAVE_CANBERRA)
+# define FEAT_SOUND_CANBERRA
+#endif
/* There are two ways to use XPM. */
#if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \