From 0458f72a6a1311660a06f235969540c6fa013bde Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Fri, 14 Feb 2003 19:27:47 +0000
Subject: [PATCH] fix for compiling without cdrom support

---
 src/include/sound_server.h | 4 ++--
 src/sound/music.cpp        | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/include/sound_server.h b/src/include/sound_server.h
index 7f76651de..85e0c47c3 100644
--- a/src/include/sound_server.h
+++ b/src/include/sound_server.h
@@ -236,11 +236,11 @@ extern unsigned CompressedSoundMemory;
 
     /// cd play mode, ":off" ":random" ":all" or ":defined"
 extern char *CDMode;
+    /// FIXME: docu
+extern char *CDPlaySection;
 #if defined(USE_SDLCD) || defined(USE_LIBCDA) || defined(USE_CDDA)
     /// FIXME: docu
 extern int CDTrack;
-    /// FIXME: docu
-extern char *CDPlaySection;
 #endif
 
 #if defined(USE_SDLCD)
diff --git a/src/sound/music.cpp b/src/sound/music.cpp
index 836547b10..b7473781a 100644
--- a/src/sound/music.cpp
+++ b/src/sound/music.cpp
@@ -66,11 +66,10 @@
 global Sample* MusicSample;		/// Music samples
 #endif
 
-				/// FIXME: remove :defined
 global char *CDMode = ":off";	/// cd play mode, ":off" ":random" ":all" or ":defined"
+global char *CDPlaySection = "menu";
 #if defined(USE_SDLCD) || defined(USE_LIBCDA) || defined(USE_CDDA)
 global int CDTrack = 0;			/// Current cd track
-global char *CDPlaySection = "menu";
 #endif
 
 #if defined(USE_SDLCD)