Fix prepreprocessor error in thread.h (related to C++11 threads)
authorCraig Robbins <kde.psych@gmail.com>
Sat, 30 Apr 2016 02:29:52 +0000 (12:29 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Sat, 30 Apr 2016 02:29:52 +0000 (12:29 +1000)
src/threading/thread.h

index 10732c44201ab7171a79d48769fc7db15a25d073..de800ecb7e14359ea370bd67cd09fbcfb4ec6c0b 100644 (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;