[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:
Louis Dionne
2023-07-07 08:57:30 -04:00
parent 1c834112f2
commit b5a9f9f6dc

View File

@@ -15,6 +15,8 @@
#include <functional>
#include <thread>
#include "include/apple_availability.h"
#ifdef __linux__
#include <unistd.h>