Fix build issues on MinGW
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#include "3rdparty/mingw-std-threads/mingw.mutex.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include "os/windows/win32.h"
|
#include "os/windows/win32.h"
|
||||||
|
@@ -16,6 +16,9 @@
|
|||||||
#include <fluidsynth.h>
|
#include <fluidsynth.h>
|
||||||
#include "../mixer.h"
|
#include "../mixer.h"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
#include "3rdparty/mingw-std-threads/mingw.mutex.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
fluid_settings_t *settings; ///< FluidSynth settings handle
|
fluid_settings_t *settings; ///< FluidSynth settings handle
|
||||||
|
Reference in New Issue
Block a user