mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
snd_xmp: adjust windows static linkage for latest libxmp headers
This commit is contained in:
parent
36fd7e4465
commit
00d36583e7
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
# makefile to build quakespasm.exe for Windows using Open Watcom:
|
# makefile to build quakespasm.exe for Windows using Open Watcom:
|
||||||
# wmake -f Makefile.wat
|
# wmake -f Makefile.wat
|
||||||
|
|
||||||
### Enable/disable SDL2
|
### Enable/disable SDL2
|
||||||
USE_SDL2=0
|
USE_SDL2=0
|
||||||
|
@ -100,7 +100,7 @@ CODECLIBS+= $(LIBCODEC)mikmod.lib
|
||||||
!endif
|
!endif
|
||||||
!ifeq USE_CODEC_XMP 1
|
!ifeq USE_CODEC_XMP 1
|
||||||
CFLAGS+= -DUSE_CODEC_XMP
|
CFLAGS+= -DUSE_CODEC_XMP
|
||||||
CFLAGS+= -DXMP_NO_DLL
|
CFLAGS+= -DLIBXMP_STATIC
|
||||||
CODECLIBS+= $(LIBCODEC)libxmp.lib
|
CODECLIBS+= $(LIBCODEC)libxmp.lib
|
||||||
!endif
|
!endif
|
||||||
!ifeq USE_CODEC_MODPLUG 1
|
!ifeq USE_CODEC_MODPLUG 1
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "snd_codec.h"
|
#include "snd_codec.h"
|
||||||
#include "snd_codeci.h"
|
#include "snd_codeci.h"
|
||||||
#include "snd_xmp.h"
|
#include "snd_xmp.h"
|
||||||
#if defined(_WIN32) && defined(XMP_NO_DLL)
|
#if defined(_WIN32) && defined(LIBXMP_STATIC)
|
||||||
#define BUILDING_STATIC
|
#define BUILDING_STATIC
|
||||||
#endif
|
#endif
|
||||||
#include <xmp.h>
|
#include <xmp.h>
|
||||||
|
|
Loading…
Reference in a new issue