MorphOS build fix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4038 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2012-05-10 12:55:14 +00:00
parent cdc66e4dad
commit 8e5035d08a

View file

@ -309,6 +309,7 @@ static ov_callbacks callbacks = {
qboolean OV_StartDecode(unsigned char *start, unsigned long length, ovdecoderbuffer_t *buffer) qboolean OV_StartDecode(unsigned char *start, unsigned long length, ovdecoderbuffer_t *buffer)
{ {
static qboolean tried; static qboolean tried;
#ifndef __MORPHOS__
static dllfunction_t funcs[] = static dllfunction_t funcs[] =
{ {
{(void*)&p_ov_open_callbacks, "ov_open_callbacks"}, {(void*)&p_ov_open_callbacks, "ov_open_callbacks"},
@ -320,6 +321,7 @@ qboolean OV_StartDecode(unsigned char *start, unsigned long length, ovdecoderbuf
{(void*)&p_ov_pcm_seek, "ov_pcm_seek"}, {(void*)&p_ov_pcm_seek, "ov_pcm_seek"},
{NULL} {NULL}
}; };
#endif
static void *libhandle; static void *libhandle;
if (!oggvorbislibrary && !tried) if (!oggvorbislibrary && !tried)