mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Final fixes for VS2010 build.
This commit is contained in:
@@ -38,7 +38,7 @@ CThread::CThread(CThreadFunction func, void* param)
|
||||
m_thrd = CreateThread(
|
||||
NULL, // not used
|
||||
0, // initial stack size
|
||||
func, // thread function
|
||||
(LPTHREAD_START_ROUTINE)func, // thread function
|
||||
param, // thread argument
|
||||
0, // creation option
|
||||
&dwThreadId // thread identifier (but does it really matter if I'm the one managing them...?)
|
||||
|
||||
@@ -49,11 +49,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef USE_WIN32_THREADS
|
||||
typedef LPTHREAD_START_ROUTINE CThreadFunction;
|
||||
#else
|
||||
typedef void* (*CThreadFunction)(void*);
|
||||
#endif
|
||||
|
||||
class CThread
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user