From 087222e8f5b13a509a809dbf7e7d6587d394fe46 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 9 Mar 2017 22:41:17 +0000 Subject: [PATCH] snd_xmp.c: fix windows static linkage to libxmp. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1380 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/snd_xmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Quake/snd_xmp.c b/Quake/snd_xmp.c index 90718fb0..27b55a56 100644 --- a/Quake/snd_xmp.c +++ b/Quake/snd_xmp.c @@ -26,6 +26,9 @@ #include "snd_codec.h" #include "snd_codeci.h" #include "snd_xmp.h" +#if defined(_WIN32) && defined(XMP_NO_DLL) +#define BUILDING_STATIC +#endif #include #if ((XMP_VERCODE+0) < 0x040200) #error libxmp version 4.2 or newer is required