0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-16 07:03:17 +00:00
Files
termux-packages/packages/python-llvmlite/llvm-include-llvm-ADT-SmallVector.h.patch
2025-07-27 20:51:26 +08:00

14 lines
366 B
Diff

--- a/llvm-project/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm-project/llvm/include/llvm/ADT/SmallVector.h
@@ -735,6 +735,10 @@
return(N);
}
+#ifdef CS
+#undef CS
+#endif
+
iterator erase(const_iterator CS, const_iterator CE) {
// Just cast away constness because this is a non-const member function.
iterator S = const_cast<iterator>(CS);