Don't use the OggVorbis callback hack when compiling on the Mac

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3659 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-02-03 13:47:48 +00:00
parent bbb23a8027
commit e7abee3ced
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,8 @@
#include <physfs.h>
#ifndef WZ_NOSOUND
#include <vorbis/vorbisfile.h>
# include <vorbis/vorbisfile.h>
# ifndef WZ_OS_MAC
/* HACK: Dummy reference vorbisfile.h symbols to prevent warnings */
static WZ_DECL_UNUSED void MKID(dummy)(void)
{
@ -30,6 +31,7 @@ static WZ_DECL_UNUSED void MKID(dummy)(void)
(void)OV_CALLBACKS_STREAMONLY;
(void)OV_CALLBACKS_STREAMONLY_NOCLOSE;
}
# endif
#endif
#ifdef __BIG_ENDIAN__