[all-commits] [llvm/llvm-project] 4b8db1: [llvm][macos] Fix usage of std::shared_mutex on ol...
Tobias Hieta via All-commits
all-commits at lists.llvm.org
Fri Aug 5 12:45:35 PDT 2022
Author: Tobias Hieta <tobias at plex.tv>
Date: 2022-08-05 (Fri, 05 Aug 2022)
[llvm][macos] Fix usage of std::shared_mutex on old macOS SDK versions
When setting CMAKE_CXX_STANDARD to 17 and targeting a macOS version
under 10.12 the ifdefs would try to use std::shared_mutex because
the of the C++ standard. This should also check the targeted SDK.
See discussion in: https://reviews.llvm.org/D130689
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D131063
More information about the All-commits