Fix Win32 thread calling convention
This commit is contained in:
parent
70cb2386b0
commit
94d7b69338
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
#define THREAD_CALL __stdcall
|
||||
#define THREAD_CALL __cdecl
|
||||
#define THREAD_RETURN unsigned int
|
||||
typedef HANDLE pthread_t;
|
||||
#define pthread_create(tp, x, p, d) ((*tp=(HANDLE)_beginthread(p, 0, d)) == NULL ? -1 : 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue