mirror of
https://github.com/pocketpy/pocketpy
synced 2026-02-04 06:30:17 +00:00
fix pthreads under windows msys2 mingw (#413)
Co-authored-by: hibays <12765444+hibays@user.noreply.gitee.com>
This commit is contained in:
parent
e3bd4cfa95
commit
0eabbda7d4
@ -7,7 +7,7 @@
|
||||
#include <stdatomic.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#if __EMSCRIPTEN__ || __APPLE__ || __linux__
|
||||
#if __EMSCRIPTEN__ || __APPLE__ || __linux__ || __MINGW32__
|
||||
#include <pthread.h>
|
||||
#define PK_USE_PTHREADS 1
|
||||
typedef pthread_t c11_thrd_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user