mirror of
https://github.com/minetest/minetest.git
synced 2024-12-25 15:42:24 +01:00
Fix prepreprocessor error in thread.h (related to C++11 threads)
This commit is contained in:
parent
8b1f8e99cf
commit
ae75073944
@ -157,11 +157,11 @@ private:
|
|||||||
Atomic<bool> m_running;
|
Atomic<bool> m_running;
|
||||||
Mutex m_mutex;
|
Mutex m_mutex;
|
||||||
|
|
||||||
#if !USE_CPP11_THREADS
|
#ifndef USE_CPP11_THREADS
|
||||||
threadhandle_t m_thread_handle;
|
threadhandle_t m_thread_handle;
|
||||||
#if _WIN32
|
# if _WIN32
|
||||||
threadid_t m_thread_id;
|
threadid_t m_thread_id;
|
||||||
#endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static ThreadStartFunc threadProc;
|
static ThreadStartFunc threadProc;
|
||||||
|
Loading…
Reference in New Issue
Block a user