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

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 3 13:44:57 PDT 2021


mstorsjo added a comment.

Oh and another reason why the autodetection in the header is dangerous: If libc++ is built without `pthread.h` being available, but if `pthread.h` is available when the user includes libc++ headers, the user would end up with a bad mismatch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110975



More information about the libcxx-commits mailing list