]> git.lizzy.rs Git - minetest.git/blobdiff - src/threads.h
Fix missing #include
[minetest.git] / src / threads.h
index 176b69c2ee657c0680467df3fbd24e842be2ca3f..d4306f631a966132f926ed56f7602b25a66ea8dc 100644 (file)
@@ -58,11 +58,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 // ThreadStartFunc
 //
 #if USE_CPP11_THREADS || USE_POSIX_THREADS
-       typedef void *(ThreadStartFunc)(void *param);
+       typedef void *ThreadStartFunc(void *param);
 #elif defined(_WIN32_WCE)
-       typedef DWORD (ThreadStartFunc)(LPVOID param);
+       typedef DWORD ThreadStartFunc(LPVOID param);
 #elif defined(_WIN32)
-       typedef DWORD WINAPI (ThreadStartFunc)(LPVOID param);
+       typedef DWORD WINAPI ThreadStartFunc(LPVOID param);
 #endif