[libcxx-commits] [PATCH] D110975: [libcxx] Don't autodetect pthreads on MinGW

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 4 12:23:22 PDT 2021


mstorsjo updated this revision to Diff 376994.
mstorsjo added a comment.

Retrigger CI


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110975/new/

https://reviews.llvm.org/D110975

Files:
  libcxx/include/__config


Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -1072,8 +1072,7 @@
       defined(__APPLE__) || \
       defined(__sun__) || \
       defined(__MVS__) || \
-      defined(_AIX) || \
-      (defined(__MINGW32__) && __has_include(<pthread.h>))
+      defined(_AIX)
 #    define _LIBCPP_HAS_THREAD_API_PTHREAD
 #  elif defined(__Fuchsia__)
      // TODO(44575): Switch to C11 thread API when possible.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110975.376994.patch
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211004/bbb17d66/attachment.bin>


More information about the libcxx-commits mailing list