diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-29 14:12:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-29 14:12:39 +0000 |
commit | 4988b2ae63413a754196b915c2de34f74ad3ce8d (patch) | |
tree | c4a761a6ed2fe0df0706af05631ba05968ae4e78 /src/sound/sound.cpp | |
parent | b2ee6c2da10288415e597d254a7694f7ddccbc78 (diff) | |
download | mana-4988b2ae63413a754196b915c2de34f74ad3ce8d.tar.gz mana-4988b2ae63413a754196b915c2de34f74ad3ce8d.tar.bz2 mana-4988b2ae63413a754196b915c2de34f74ad3ce8d.tar.xz mana-4988b2ae63413a754196b915c2de34f74ad3ce8d.zip |
Changes to disable sound on Windows.
Diffstat (limited to 'src/sound/sound.cpp')
-rw-r--r-- | src/sound/sound.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 */ |