db31e56957
Since there are some patches that need to be loaded manually, the original method is rather confusing. Now these patches that need to be loaded manually are classified into various cxx library folders, and each dynamically downloaded cxx library is moved down one directory to make the directory structure clearer. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
17 lines
484 B
Diff
17 lines
484 B
Diff
diff --git libcxx/src/locale.cpp libcxx/src/locale.cpp
|
|
--- libcxx/src/locale.cpp
|
|
+++ libcxx/src/locale.cpp
|
|
@@ -41,6 +41,10 @@
|
|
#include "include/atomic_support.h"
|
|
#include "include/sso_allocator.h"
|
|
|
|
+#if defined(__NuttX__) && defined(__GLIBC__)
|
|
+# undef __GLIBC__
|
|
+#endif
|
|
+
|
|
// On Linux, wint_t and wchar_t have different signed-ness, and this causes
|
|
// lots of noise in the build log, but no bugs that I know of.
|
|
_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wsign-conversion")
|
|
--
|
|
2.34.1
|
|
|