mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
Toolchain: Remove breaking mbstate_t define from clang
This commit is contained in:
parent
44f5f72add
commit
dea43d88e7
Notes:
sideshowbarker
2024-07-18 03:47:44 +09:00
Author: https://github.com/timschumi
Commit: dea43d88e7
Pull-request: https://github.com/SerenityOS/serenity/pull/10075
1 changed files with 0 additions and 12 deletions
|
@ -547,18 +547,6 @@ diff --git a/libcxx/include/iosfwd b/libcxx/include/iosfwd
|
|||
index 0a0de99ff..790dc4023 100644
|
||||
--- a/libcxx/include/iosfwd
|
||||
+++ b/libcxx/include/iosfwd
|
||||
@@ -92,7 +92,11 @@ typedef fpos<char_traits<wchar_t>::state_type> wstreampos;
|
||||
*/
|
||||
|
||||
#include <__config>
|
||||
+#if 0
|
||||
#include <wchar.h> // for mbstate_t
|
||||
+#endif
|
||||
+
|
||||
+#define mbstate_t void
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
#pragma GCC system_header
|
||||
@@ -109,7 +113,9 @@ template<> struct char_traits<char8_t>;
|
||||
#endif
|
||||
template<> struct char_traits<char16_t>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue