mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 20:23:39 +08:00
[libc++] Make sure we use __ulock on Apple platforms
We forgot to include the header, which means that _LIBCPP_USE_ULOCK was always undefined and we'd always use the fallback. Note that this doesn't seem to fix https://github.com/llvm/llvm-project/issues/63737. Differential Revision: https://reviews.llvm.org/D154718
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#include <functional>
|
||||
#include <thread>
|
||||
|
||||
#include "include/apple_availability.h"
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user