ref: 8a262fb95d8f335cf7930a8ae667fe5e01552cf4
parent: 6d0bf9181121b4c117c80d05a7f097363c531774
author: Simon Howard <[email protected]>
date: Sat Jun 6 21:24:40 EDT 2009
Fix compile with FEATURE_SOUND disabled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1554
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -747,6 +747,8 @@
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
@@ -761,6 +763,8 @@
//
CONFIG_VARIABLE_INT(use_libsamplerate, use_libsamplerate),
+
+#endif
//!
// Key that activates the menu when pressed.