From: ShadowNinja Date: Sat, 28 Jan 2017 22:23:30 +0000 (-0500) Subject: Fix AIX threading build X-Git-Tag: 0.4.16~480 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F5134%2Fhead;p=oweals%2Fminetest.git Fix AIX threading build --- diff --git a/src/threading/thread.cpp b/src/threading/thread.cpp index 4f4c9474a..1909da61d 100644 --- a/src/threading/thread.cpp +++ b/src/threading/thread.cpp @@ -252,7 +252,7 @@ DWORD WINAPI Thread::threadProc(LPVOID param) Thread *thr = (Thread *)param; #ifdef _AIX - m_kernel_thread_id = thread_self(); + thr->m_kernel_thread_id = thread_self(); #endif thr->setName(thr->m_name);