[libcxx-commits] [PATCH] D92349: [libcxxabi] remove checks for __STDCPP_THREADS__ as it is defined by compiler

Reid Kleckner via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 30 14:42:42 PST 2020


rnk added inline comments.


================
Comment at: libcxx/include/__config:1159
-
-#if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(__STDCPP_THREADS__)
-#define __STDCPP_THREADS__ 1
----------------
Let's continue defining `__STDCPP_THREADS__` if it's not defined. It's safe. It makes new libc++ work with old clang.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92349



More information about the libcxx-commits mailing list