32 lines
806 B
Diff
32 lines
806 B
Diff
From f8a083e37fd50672621504ce33e99b862ec4f49b Mon Sep 17 00:00:00 2001
|
|
From: q66 <q66@chimera-linux.org>
|
|
Date: Sat, 4 Nov 2023 08:50:28 +0100
|
|
Subject: [PATCH 02/29] llvm: musl workarounds
|
|
|
|
---
|
|
llvm/include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.h b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
|
|
index f51d2bb9d..c3cbe951b 100644
|
|
--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
|
|
+++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
|
|
@@ -19,6 +19,15 @@
|
|
#include <bitset>
|
|
#include <optional>
|
|
|
|
+#undef fopen64
|
|
+#undef fseeko64
|
|
+#undef fstat64
|
|
+#undef fstatvfs64
|
|
+#undef ftello64
|
|
+#undef lstat64
|
|
+#undef stat64
|
|
+#undef tmpfile64
|
|
+
|
|
namespace llvm {
|
|
|
|
template <typename T> class ArrayRef;
|
|
--
|
|
2.49.0
|
|
|