Skip to content

Commit

Permalink
Revert "Remove MinGW threading includes"
Browse files Browse the repository at this point in the history
This reverts commit 8946c3f.
  • Loading branch information
sakertooth committed Feb 21, 2023
1 parent 8946c3f commit 1646756
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/SampleBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
#ifndef LMMS_SAMPLE_BUFFER_H
#define LMMS_SAMPLE_BUFFER_H

#include <memory>
#if defined(__MINGW32__) && !defined(_GLIBCXX_HAS_GTHREADS)
#include <mingw.mutex.h>
#include <mingw.shared_mutex.h>
#else
#include <mutex>
#include <shared_mutex>
#endif

#include <QObject>

#include "AudioEngine.h"
Expand Down

0 comments on commit 1646756

Please sign in to comment.