mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Toolchain: Remove breaking mbstate_t define from clang
This commit is contained in:
parent
44f5f72add
commit
dea43d88e7
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