aboutsummaryrefslogtreecommitdiff
path: root/include/mbstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbstring.h')
-rw-r--r--include/mbstring.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/mbstring.h b/include/mbstring.h
index e23a00b..3ac9277 100644
--- a/include/mbstring.h
+++ b/include/mbstring.h
@@ -6,15 +6,7 @@
#include "__charN_t.h"
#include "__qmacros.h"
#include "__rune.h"
-
-#if !__MLIB_HAS_U8VIEW
-# define __MLIB_HAS_U8VIEW 1
-
-struct u8view {
- const char8_t *p;
- size_t len;
-};
-#endif
+#include "__u8view.h"
/* clang-format off */
#define U8_BYTE_1(x) (((x) & 0x80) == 0x00)