summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2009-06-07 01:24:40 +0000
committerSimon Howard2009-06-07 01:24:40 +0000
commit8a262fb95d8f335cf7930a8ae667fe5e01552cf4 (patch)
tree71ad44c8ad4b5ac32355c257cd39b86880735a0a /src
parent6d0bf9181121b4c117c80d05a7f097363c531774 (diff)
downloadchocolate-doom-8a262fb95d8f335cf7930a8ae667fe5e01552cf4.tar.gz
chocolate-doom-8a262fb95d8f335cf7930a8ae667fe5e01552cf4.tar.bz2
chocolate-doom-8a262fb95d8f335cf7930a8ae667fe5e01552cf4.zip
Fix compile with FEATURE_SOUND disabled.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1554
Diffstat (limited to 'src')
-rw-r--r--src/m_config.c4
1 files changed, 4 insertions, 0 deletions
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.
//