1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-22 04:20:18 +02:00

Fix prepreprocessor error in thread.h (related to C++11 threads)

This commit is contained in:
Craig Robbins 2016-04-30 12:29:52 +10:00
parent 8b1f8e99cf
commit ae75073944

View File

@ -157,11 +157,11 @@ private:
Atomic<bool> m_running;
Mutex m_mutex;
#if !USE_CPP11_THREADS
#ifndef USE_CPP11_THREADS
threadhandle_t m_thread_handle;
#if _WIN32
threadid_t m_thread_id;
#endif
# if _WIN32
threadid_t m_thread_id;
# endif
#endif
static ThreadStartFunc threadProc;