mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix prepreprocessor error in thread.h (related to C++11 threads)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user