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-861f7616d084master
parent
bbb23a8027
commit
e7abee3ced
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue