[libc-commits] [libc] f8fae5b - [libc][Obvious] Include arm_acle.h only for aarch64 builds.
Siva Chandra via libc-commits
libc-commits at lists.llvm.org
Wed Jun 15 23:07:46 PDT 2022
Author: Siva Chandra
Date: 2022-06-15T23:06:34-07:00
New Revision: f8fae5b6606837662525fcdddc9e56b0384240b5
URL: https://github.com/llvm/llvm-project/commit/f8fae5b6606837662525fcdddc9e56b0384240b5
DIFF: https://github.com/llvm/llvm-project/commit/f8fae5b6606837662525fcdddc9e56b0384240b5.diff
LOG: [libc][Obvious] Include arm_acle.h only for aarch64 builds.
Added:
Modified:
libc/src/__support/threads/linux/thread.h
Removed:
################################################################################
diff --git a/libc/src/__support/threads/linux/thread.h b/libc/src/__support/threads/linux/thread.h
index b865b3f34fb9..a947613ea5e2 100644
--- a/libc/src/__support/threads/linux/thread.h
+++ b/libc/src/__support/threads/linux/thread.h
@@ -15,7 +15,10 @@
#include "src/__support/threads/linux/futex_word.h" // For FutexWordType
#include "src/__support/threads/thread_attrib.h"
+#ifdef LLVM_LIBC_ARCH_AARCH64
#include <arm_acle.h>
+#endif
+
#include <linux/futex.h>
#include <linux/sched.h> // For CLONE_* flags.
#include <stdint.h>
More information about the libc-commits
mailing list