[libcxx-commits] [PATCH] D85095: Fix libcxx build on riscv32
Khem Raj via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Nov 14 14:50:10 PST 2020
raj.khem updated this revision to Diff 305331.
raj.khem added a comment.
Herald added a subscriber: NickHung.
this revision is not riscv32 specific. Let me know if this is ok
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85095/new/
https://reviews.llvm.org/D85095
Files:
libcxx/src/atomic.cpp
Index: libcxx/src/atomic.cpp
===================================================================
--- libcxx/src/atomic.cpp
+++ libcxx/src/atomic.cpp
@@ -14,6 +14,9 @@
#include <functional>
#ifdef __linux__
+#if !defined(SYS_futex) && defined(SYS_futex_time64)
+# define SYS_futex SYS_futex_time64
+#endif
#include <unistd.h>
#include <linux/futex.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85095.305331.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201114/da202d6a/attachment.bin>
More information about the libcxx-commits
mailing list