lokinet/include/llarp/threading.hpp
Jeff Becker f9db26adee add mingw stl threading lib
run make format
2018-07-25 10:35:11 +10:00

12 lines
314 B
C++

#ifndef LLARP_THREADING_HPP
#define LLARP_THREADING_HPP
#include <mutex>
#if defined(__MINGW32__)
#include <llarp/win32/threads/mingw.condition_variable.h>
#include <llarp/win32/threads/mingw.mutex.h>
#include <llarp/win32/threads/mingw.thread.h>
#else
#include <condition_variable>
#include <thread>
#endif
#endif