Skip to content

Commit 5ed58ed

Browse files
mordanteldionne
authored andcommitted
[libc++] Reenable codecvt in the dylib.
The header is used in the dylib, this is not an issue at the moment since the dylib is built using C++23. Post release comments in #72496 seem to indicate this removal is an issue for Fuchsia, this is a test so see whether it fixes the issue for their builds.
1 parent fc19424 commit 5ed58ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/codecvt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class codecvt_utf8_utf16
6363
# pragma GCC system_header
6464
#endif
6565

66-
#if _LIBCPP_STD_VER < 26 || defined(_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT)
66+
#if _LIBCPP_STD_VER < 26 || defined(_LIBCPP_BUILDING_LIBRARY) || defined(_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT)
6767

6868
_LIBCPP_BEGIN_NAMESPACE_STD
6969

@@ -555,7 +555,7 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP
555555

556556
_LIBCPP_END_NAMESPACE_STD
557557

558-
#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT)
558+
#endif // _LIBCPP_STD_VER < 26 || defined(_LIBCPP_BUILDING_LIBRARY) || defined(_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT)
559559

560560
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
561561
# include <atomic>

0 commit comments

Comments
 (0)