decoder/wildmidi: assume WildMidi is built as static library on Windows

This commit is contained in:
Max Kellermann 2020-05-27 14:26:37 +02:00
parent ebcb5e9368
commit d276d8eda2

View File

@ -29,6 +29,12 @@
#include "Log.hxx"
#include "PluginUnavailable.hxx"
#ifdef _WIN32
/* assume WildMidi is built as static library on Windows; without
this, linking to the static library would fail */
#define WILDMIDI_STATIC
#endif
extern "C" {
#include <wildmidi_lib.h>
}