We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70cb238 commit 94d7b69Copy full SHA for 94d7b69
include/compat_pthread.h
@@ -9,7 +9,7 @@
9
10
#include <windows.h>
11
#include <process.h>
12
-#define THREAD_CALL __stdcall
+#define THREAD_CALL __cdecl
13
#define THREAD_RETURN unsigned int
14
typedef HANDLE pthread_t;
15
#define pthread_create(tp, x, p, d) ((*tp=(HANDLE)_beginthread(p, 0, d)) == NULL ? -1 : 0)
0 commit comments