From 0eabbda7d4b5ee180247b8a8a06139195895fbae Mon Sep 17 00:00:00 2001 From: hibays <130235632+hibays@users.noreply.github.com> Date: Wed, 10 Dec 2025 23:00:46 +0800 Subject: [PATCH] fix pthreads under windows msys2 mingw (#413) Co-authored-by: hibays <12765444+hibays@user.noreply.gitee.com> --- include/pocketpy/common/threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/common/threads.h b/include/pocketpy/common/threads.h index f75c18a0..47d67486 100644 --- a/include/pocketpy/common/threads.h +++ b/include/pocketpy/common/threads.h @@ -7,7 +7,7 @@ #include #include -#if __EMSCRIPTEN__ || __APPLE__ || __linux__ +#if __EMSCRIPTEN__ || __APPLE__ || __linux__ || __MINGW32__ #include #define PK_USE_PTHREADS 1 typedef pthread_t c11_thrd_t;