From 4988b2ae63413a754196b915c2de34f74ad3ce8d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 29 Dec 2004 14:12:39 +0000 Subject: Changes to disable sound on Windows. --- src/sound/sound.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/sound/sound.cpp') diff --git a/src/sound/sound.cpp b/src/sound/sound.cpp index 2505f203..8ec29d7b 100644 --- a/src/sound/sound.cpp +++ b/src/sound/sound.cpp @@ -19,11 +19,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef WIN32 + +#include "sound.h" + #ifdef WIN32 #pragma warning(disable:4312) #endif -#include "sound.h" /** \brief install the sound engine @@ -233,3 +236,5 @@ bool Sound::isMaxVol(int vol) { if( vol > 0 && vol < 128 ) return false; else return true; } + +#endif /* not WIN32 */ -- cgit v1.2.3-60-g2f50