Fold LIBC_UNICODE into LIBC_STR

This commit is contained in:
Justine Tunney 2022-08-13 08:42:32 -07:00
parent 17aea99bb3
commit 367d06d9e4
173 changed files with 170 additions and 355 deletions

View file

@ -15,7 +15,7 @@
#include "third_party/libcxx/stdlib.h"
#include "libc/mem/fmt.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "third_party/libcxx/memory"
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)

View file

@ -36,7 +36,7 @@ lconv* localeconv();
*/
#include "third_party/libcxx/__config"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header

View file

@ -163,7 +163,6 @@ THIRD_PARTY_LIBCXX_A_DIRECTDEPS = \
LIBC_SYSV \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
THIRD_PARTY_GDTOA
THIRD_PARTY_LIBCXX_A_DEPS := \

View file

@ -25,7 +25,7 @@
#include "third_party/libcxx/ctime"
#include "third_party/libcxx/cstdio"
#ifdef _LIBCPP_HAS_CATOPEN
# include "libc/unicode/locale.h"
# include "libc/str/locale.h"
# include "third_party/libcxx/nl_types.h"
#endif

View file

@ -27,7 +27,7 @@
#include "third_party/libcxx/cwctype"
#include "third_party/libcxx/__sso_allocator"
#include "third_party/libcxx/include/atomic_support.hh"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/libcxx/__undef_macros"
// On Linux, wint_t and wchar_t have different signed-ness, and this causes