add include <thread>

This commit is contained in:
Pr0curo 2016-03-16 09:34:16 +01:00
parent 6540142e29
commit 238e298bc4

View File

@ -5,6 +5,7 @@
#if defined(STD_THREAD_NOT_SUPPORTED) #if defined(STD_THREAD_NOT_SUPPORTED)
#if defined(NANA_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ) #if defined(NANA_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ)
#include <mingw.thread.h> #include <mingw.thread.h>
#else #else
#include <boost/thread.hpp> #include <boost/thread.hpp>
@ -13,5 +14,11 @@ namespace std
typedef boost::thread thread; typedef boost::thread thread;
} }
#endif // (NANA_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ) #endif // (NANA_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ)
#else
#include <thread>
#endif // (STD_THREAD_NOT_SUPPORTED) #endif // (STD_THREAD_NOT_SUPPORTED)
#endif // NANA_STD_THREAD_HPP #endif // NANA_STD_THREAD_HPP