From 28e67e0c1496b7bb166a0acfb176690f219101ca Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 15 Aug 2019 23:05:49 +0200 Subject: patch 8.1.1851: crash when sound_playfile() callback plays sound Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop. --- src/feature.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/feature.h') 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)) \ -- cgit v1.2.1