foxygit / doom Log in
commit 8a262fb95d8f335cf7930a8ae667fe5e01552cf4
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jun 7 01:24:40 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jun 7 01:24:40 2009 +0000

    Fix compile with FEATURE_SOUND disabled.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1554
---
 src/m_config.c | 4 ++++
 1 file changed, 4 insertions(+)

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.
     //