summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-09 13:43:51 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-09 13:43:51 +0200
commit427f5b66ce0abe19daed9291b1693f6e8aae6552 (patch)
treedabb3cc81a9c6b47416b38ae835b79f69df2b61e /src/feature.h
parent260addf7955f3695d3daef9dcf840952af9fd851 (diff)
patch 8.1.1502: cannot play any soundv8.1.1502
Problem: Cannot play any sound. Solution: Use libcanberra if available. Add sound functions.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index c613c4bc94..c5d7d777e6 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -660,6 +660,13 @@
# define FEAT_TERM_POPUP_MENU
#endif
+/*
+ * sound - currently only with libcanberra
+ */
+#if !defined(FEAT_SOUND) && defined(FEAT_BIG) && defined(HAVE_CANBERRA)
+# define FEAT_SOUND
+#endif
+
/* There are two ways to use XPM. */
#if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \
|| defined(HAVE_X11_XPM_H)