Fix libcds on MinGW
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include "NiftyCounter.h"
|
||||
|
||||
#if defined(__MINGW32__) && !defined(_GLIBCXX_HAS_GTHREADS)
|
||||
# include "mingw-std-threads/thread"
|
||||
# include "mingw-std-threads/mutex"
|
||||
#endif
|
||||
|
||||
namespace _cdslib
|
||||
{
|
||||
void init();
|
||||
|
||||
1
include/mingw-std-threads/mutex
Normal file
1
include/mingw-std-threads/mutex
Normal file
@@ -0,0 +1 @@
|
||||
#include "mingw.mutex.h"
|
||||
1
include/mingw-std-threads/thread
Normal file
1
include/mingw-std-threads/thread
Normal file
@@ -0,0 +1 @@
|
||||
#include "mingw.thread.h"
|
||||
Reference in New Issue
Block a user