mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
win32 compile fixes. still have problems with DDActive, but Despair's going
to look at that.
This commit is contained in:
parent
ec5440fccc
commit
e5d8781150
3 changed files with 9 additions and 6 deletions
|
@ -412,9 +412,12 @@ case "$target_os" in
|
|||
;;
|
||||
esac
|
||||
|
||||
AM_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VOBIS=no)
|
||||
if test $HAVE_VORBIS = yes; then
|
||||
AC_DEFINE(HAVE_VORBIS, 1, [define this if you have ogg/vorbis libs])
|
||||
AM_PATH_OGG(HAVE_OGG=yes, HAVE_OGG=no)
|
||||
if test $HAVE_OGG = yes; then
|
||||
AM_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VORBIS=no)
|
||||
if test $HAVE_VORBIS = yes; then
|
||||
AC_DEFINE(HAVE_VORBIS, 1, [define this if you have ogg/vorbis libs])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(zlib,
|
||||
|
|
|
@ -21,10 +21,10 @@ libasm_la_SOURCES= snd_mixa.S
|
|||
libsnd_render_default_la_LDFLAGS= $(plugin_ldflags)
|
||||
libsnd_render_default_la_SOURCES= snd_dma.c snd_mem.c snd_mix.c vorbis.c
|
||||
if ASM_ARCH
|
||||
libsnd_render_default_la_LIBADD= $(asm) $(VORBISFILE_LIBS) $(VORBIS_LIBS)
|
||||
libsnd_render_default_la_LIBADD= $(asm) $(VORBISFILE_LIBS) $(VORBIS_LIBS) $(OGG_LIBS)
|
||||
libsnd_render_default_la_DEPENDENCIES= $(asm)
|
||||
else
|
||||
libsnd_render_default_la_LIBADD= $(VORBISFILE_LIBS) $(VORBIS_LIBS)
|
||||
libsnd_render_default_la_LIBADD= $(VORBISFILE_LIBS) $(VORBIS_LIBS) $(OGG_LIBS)
|
||||
libsnd_render_default_la_DEPENDENCIES=
|
||||
endif
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ void * (* glGetProcAddress) (const char *symbol) = NULL; // FIXME
|
|||
|
||||
// the following is to avoid other compiler errors
|
||||
#ifdef _WIN32
|
||||
void * (* getProcAddress) (HINSTANCE, LPCSTR);
|
||||
FARPROC (WINAPI *getProcAddress) (HINSTANCE, LPCSTR);
|
||||
#else
|
||||
void * (* getProcAddress) (void *, const char *);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue