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

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 5 00:48:12 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa8d15a926689: [libcxx] Don't autodetect pthreads on MinGW (authored by mstorsjo).

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.377106.patch
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211005/566cc448/attachment.bin>


More information about the libcxx-commits mailing list