From fa8a53d139a9310f07cd82eaf87248557513db7d Mon Sep 17 00:00:00 2001 From: hibays <12765444+hibays@user.noreply.gitee.com> Date: Wed, 10 Dec 2025 22:48:42 +0800 Subject: [PATCH] fix pthreads under windows msys2 mingw --- 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;