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
This commit is contained in:
Ozkan Sezer 2017-03-09 22:41:17 +00:00
parent fd5d023e31
commit 087222e8f5

View file

@ -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 <xmp.h>
#if ((XMP_VERCODE+0) < 0x040200)
#error libxmp version 4.2 or newer is required