aboutsummaryrefslogtreecommitdiff
path: root/src/threading
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2017-01-28 17:23:30 -0500
committerShadowNinja <shadowninja@minetest.net>2017-01-28 18:52:07 -0500
commit3eecc6ff4492ca21772544451fd8aa78871bac3b (patch)
tree5b45d73eb4e46270355b9905e84ed182547fce26 /src/threading
parentc93f7f5ceaf255bc9314be022b7bebb55b1d0605 (diff)
downloadminetest-3eecc6ff4492ca21772544451fd8aa78871bac3b.tar.gz
minetest-3eecc6ff4492ca21772544451fd8aa78871bac3b.tar.bz2
minetest-3eecc6ff4492ca21772544451fd8aa78871bac3b.zip
Fix AIX threading build
Diffstat (limited to 'src/threading')
-rw-r--r--src/threading/thread.cpp2
1 files changed, 1 insertions, 1 deletions
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);