[libcxx-commits] [libcxx] [libc++] Redefine Fuchsia locale base support on top of the new API (PR #122489)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 11 10:46:51 PST 2025
================
@@ -0,0 +1,143 @@
+//===-----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP___LOCALE_DIR_SUPPORT_FUCHSIA_H
+#define _LIBCPP___LOCALE_DIR_SUPPORT_FUCHSIA_H
+
+#include <__config>
+#include <clocale> // uselocale & friends
+#include <cstdio>
+#include <cstdlib>
+#include <cwchar>
+#include <utility>
----------------
philnik777 wrote:
You should include `<__utility/forward.h>` (and any other detail headers you might need) instead of including the public header.
https://github.com/llvm/llvm-project/pull/122489
More information about the libcxx-commits
mailing list