diff options
author | Craig Robbins <kde.psych@gmail.com> | 2016-04-30 12:29:52 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2016-04-30 12:29:52 +1000 |
commit | ae75073944f6cdea22d5d4cc40b81937afe4dfa6 (patch) | |
tree | e2969ddf13aff82b0f2d5b473ee06ed3596e5372 /src/threading | |
parent | 8b1f8e99cf860625ebd20531ab7f3e8316a66b51 (diff) | |
download | minetest-ae75073944f6cdea22d5d4cc40b81937afe4dfa6.tar.gz minetest-ae75073944f6cdea22d5d4cc40b81937afe4dfa6.tar.bz2 minetest-ae75073944f6cdea22d5d4cc40b81937afe4dfa6.zip |
Fix prepreprocessor error in thread.h (related to C++11 threads)
Diffstat (limited to 'src/threading')
-rw-r--r-- | src/threading/thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<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; |