在 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.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to