From: Craig Robbins Date: Sat, 30 Apr 2016 02:29:52 +0000 (+1000) Subject: Fix prepreprocessor error in thread.h (related to C++11 threads) X-Git-Tag: 0.4.14~71 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae75073944f6cdea22d5d4cc40b81937afe4dfa6;p=oweals%2Fminetest.git Fix prepreprocessor error in thread.h (related to C++11 threads) --- diff --git a/src/threading/thread.h b/src/threading/thread.h index 10732c442..de800ecb7 100644 --- a/src/threading/thread.h +++ b/src/threading/thread.h @@ -157,11 +157,11 @@ private: Atomic 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;