decoder/modplug: assume ModPlug is built as static library on Windows

This commit is contained in:
Max Kellermann
2020-05-27 14:29:24 +02:00
parent d276d8eda2
commit 4e5d6e560b
2 changed files with 7 additions and 1 deletions

View File

@@ -26,8 +26,13 @@
#include "util/RuntimeError.hxx"
#include "Log.hxx"
#include <libmodplug/modplug.h>
#ifdef _WIN32
/* assume ModPlug is built as static library on Windows; without
this, linking to the static library would fail */
#define MODPLUG_STATIC
#endif
#include <libmodplug/modplug.h>
#include <assert.h>