On 10/2/26 05:56, LIU Hao wrote:
在 2026-9-25 17:13, LIU Hao 写道:
In libgfortran/caf/shmem/thread_support.{h,c}, pthread.h is included only
when `!defined(WIN32) && !defined(__CYGWIN__)`. For Cygwin and MinGW
hosts,
native named mutexes and semaphores are used and a pthread library is not
needed.
This commit overrides the result of the previous check for pthread, so
libcaf_shmem is always built for these hosts even when a pthread library
isn't available.
libgfortran/ChangeLog:
* configure.ac: Set `enable_caf_shmem` to true for Cygwin and
MinGW hosts.
* configure: Regenerate.
Signed-off-by: LIU Hao <[email protected]>
---
libgfortran/configure | 3 +++
libgfortran/configure.ac | 3 +++
2 files changed, 6 insertions(+)
Ping.
Thanks, applied to master branch.