Commit d276d8ed authored by Max Kellermann's avatar Max Kellermann

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

parent ebcb5e93
...@@ -29,6 +29,12 @@ ...@@ -29,6 +29,12 @@
#include "Log.hxx" #include "Log.hxx"
#include "PluginUnavailable.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" { extern "C" {
#include <wildmidi_lib.h> #include <wildmidi_lib.h>
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment