decoder/wildmidi: assume WildMidi is built as static library on Windows
This commit is contained in:
parent
ebcb5e9368
commit
d276d8eda2
@ -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>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user