[all-commits] [llvm/llvm-project] f97cc6: [libc++] Clean up `_LIBCPP_HAS_NO_PLATFORM_WAIT` m...

Joe Loser via All-commits all-commits at lists.llvm.org
Thu Sep 15 08:45:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f97cc6b7120255c3e81017c1a4052012cbe0a004
      https://github.com/llvm/llvm-project/commit/f97cc6b7120255c3e81017c1a4052012cbe0a004
  Author: Joe Loser <joeloser at fastmail.com>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M libcxx/include/atomic

  Log Message:
  -----------
  [libc++] Clean up `_LIBCPP_HAS_NO_PLATFORM_WAIT` macro

As the comment suggests, `_LIBCPP_HAS_NO_PLATFORM_WAIT` is not documented or
defined anywhere internally in the build system. It's a direct define in terms
of `_LIBCPP_HAS_NO_THREADS`. So, remove `_LIBCPP_HAS_NO_PLATFORM_WAIT` and use
`_LIBCPP_HAS_NO_THREADS` instead to control the desired behavior.

Differential Revision: https://reviews.llvm.org/D132715




More information about the All-commits mailing list