win32 compile fixes. still have problems with DDActive, but Despair's going

to look at that.
This commit is contained in:
Bill Currie 2002-07-02 18:45:50 +00:00
parent ec5440fccc
commit e5d8781150
3 changed files with 9 additions and 6 deletions

View file

@ -412,9 +412,12 @@ case "$target_os" in
;; ;;
esac esac
AM_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VOBIS=no) AM_PATH_OGG(HAVE_OGG=yes, HAVE_OGG=no)
if test $HAVE_VORBIS = yes; then 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]) AC_DEFINE(HAVE_VORBIS, 1, [define this if you have ogg/vorbis libs])
fi
fi fi
AC_ARG_ENABLE(zlib, AC_ARG_ENABLE(zlib,

View file

@ -21,10 +21,10 @@ libasm_la_SOURCES= snd_mixa.S
libsnd_render_default_la_LDFLAGS= $(plugin_ldflags) libsnd_render_default_la_LDFLAGS= $(plugin_ldflags)
libsnd_render_default_la_SOURCES= snd_dma.c snd_mem.c snd_mix.c vorbis.c libsnd_render_default_la_SOURCES= snd_dma.c snd_mem.c snd_mix.c vorbis.c
if ASM_ARCH 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) libsnd_render_default_la_DEPENDENCIES= $(asm)
else 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= libsnd_render_default_la_DEPENDENCIES=
endif endif

View file

@ -75,7 +75,7 @@ void * (* glGetProcAddress) (const char *symbol) = NULL; // FIXME
// the following is to avoid other compiler errors // the following is to avoid other compiler errors
#ifdef _WIN32 #ifdef _WIN32
void * (* getProcAddress) (HINSTANCE, LPCSTR); FARPROC (WINAPI *getProcAddress) (HINSTANCE, LPCSTR);
#else #else
void * (* getProcAddress) (void *, const char *); void * (* getProcAddress) (void *, const char *);
#endif #endif