[libcxx-commits] [libcxx] [libc++] Use _LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 in <future> (PR #207668)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 6 00:20:05 PDT 2026
https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/207668
This was accidentally guarded behind `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES`.
>From d880d4e4c3124b14deb9b998600ddf6b11e817f7 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Mon, 6 Jul 2026 09:18:56 +0200
Subject: [PATCH] [libc++] Use _LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 in
<future>
---
libcxx/include/future | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcxx/include/future b/libcxx/include/future
index 498fda99fdafd..fd265972ab750 100644
--- a/libcxx/include/future
+++ b/libcxx/include/future
@@ -2079,7 +2079,7 @@ _LIBCPP_POP_MACROS
# include <thread>
# endif
-# if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 23
+# if defined(_LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23) && _LIBCPP_STD_VER <= 23
# include <sstream>
# endif
More information about the libcxx-commits
mailing list