Fix libcds on MinGW

This commit is contained in:
Lukas W
2018-04-29 19:34:14 +02:00
parent ef7b8c68d5
commit 8b122d5a4c
10 changed files with 103 additions and 7 deletions

View File

@@ -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();

View File

@@ -0,0 +1 @@
#include "mingw.mutex.h"

View File

@@ -0,0 +1 @@
#include "mingw.thread.h"