在 2025-6-6 17:41, Kirill Makurin 写道:
From 8c131c07c784799b56a889b0c25396e0c0ddb9e8 Mon Sep 17 00:00:00 2001
From: Kirill Makurin
Date: Fri, 6 Jun 2025 18:26:24 +0900
Subject: [PATCH] winpthreads: do not expose IN_WINPTHREAD in public header
files
When building winpthreads, define WINPTHREAD_AP
See commit message.
I have a question. What do you think about adding .pc (pkg-config) file for
winpthreads?
There is also a problematic interaction between pthread_compat.h and autoconf's
AC_TYPE_PID_T. With MSVC, this check will fail and it will
```
#define pid_t ...
```
If pthread_compat.h