From 8a262fb95d8f335cf7930a8ae667fe5e01552cf4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 7 Jun 2009 01:24:40 +0000 Subject: Fix compile with FEATURE_SOUND disabled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1554 --- src/m_config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/m_config.c b/src/m_config.c index cca4bec1..be329cba 100644 --- a/src/m_config.c +++ b/src/m_config.c @@ -747,6 +747,8 @@ static default_t extra_defaults_list[] = CONFIG_VARIABLE_INT(dclick_use, dclick_use), +#ifdef FEATURE_SOUND + //! // Controls whether libsamplerate support is used for performing // sample rate conversions of sound effects. Support for this @@ -762,6 +764,8 @@ static default_t extra_defaults_list[] = CONFIG_VARIABLE_INT(use_libsamplerate, use_libsamplerate), +#endif + //! // Key that activates the menu when pressed. // -- cgit v1.2.3