File tree Expand file tree Collapse file tree 5 files changed +38
-2
lines changed Expand file tree Collapse file tree 5 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -492,8 +492,10 @@ set(files
492492 __locale
493493 __locale_dir/locale_base_api.h
494494 __locale_dir/locale_base_api/android.h
495+ __locale_dir/locale_base_api/apple .h
495496 __locale_dir/locale_base_api/bsd_locale_defaults.h
496497 __locale_dir/locale_base_api/bsd_locale_fallbacks.h
498+ __locale_dir/locale_base_api/freebsd.h
497499 __locale_dir/locale_base_api/fuchsia.h
498500 __locale_dir/locale_base_api/ibm.h
499501 __locale_dir/locale_base_api/musl.h
Original file line number Diff line number Diff line change 2121# include <__locale_dir/locale_base_api/fuchsia.h>
2222#elif defined(__wasi__ ) || defined(_LIBCPP_HAS_MUSL_LIBC )
2323# include <__locale_dir/locale_base_api/musl.h>
24- #elif defined(__APPLE__ ) || defined(__FreeBSD__ )
25- # include <xlocale.h>
24+ #elif defined(__APPLE__ )
25+ # include <__locale_dir/locale_base_api/apple.h>
26+ #elif defined(__FreeBSD__ )
27+ # include <__locale_dir/locale_base_api/freebsd.h>
2628#endif
2729
2830#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER )
Original file line number Diff line number Diff line change 1+ // -*- C++ -*-
2+ // ===-----------------------------------------------------------------------===//
3+ //
4+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5+ // See https://llvm.org/LICENSE.txt for license information.
6+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+ //
8+ // ===----------------------------------------------------------------------===//
9+
10+ #ifndef _LIBCPP___LOCALE_DIR_LOCALE_BASE_API_APPLE_H
11+ #define _LIBCPP___LOCALE_DIR_LOCALE_BASE_API_APPLE_H
12+
13+ #include < xlocale.h>
14+
15+ #endif // _LIBCPP___LOCALE_DIR_LOCALE_BASE_API_APPLE_H
Original file line number Diff line number Diff line change 1+ // -*- C++ -*-
2+ // ===-----------------------------------------------------------------------===//
3+ //
4+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5+ // See https://llvm.org/LICENSE.txt for license information.
6+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+ //
8+ // ===----------------------------------------------------------------------===//
9+
10+ #ifndef _LIBCPP___LOCALE_DIR_LOCALE_BASE_API_FREEBSD_H
11+ #define _LIBCPP___LOCALE_DIR_LOCALE_BASE_API_FREEBSD_H
12+
13+ #include < xlocale.h>
14+
15+ #endif // _LIBCPP___LOCALE_DIR_LOCALE_BASE_API_FREEBSD_H
Original file line number Diff line number Diff line change @@ -1446,8 +1446,10 @@ module std [system] {
14461446 header "__locale_dir/locale_guard.h"
14471447 module locale_base_api {
14481448 textual header "__locale_dir/locale_base_api/android.h"
1449+ textual header "__locale_dir/locale_base_api/apple.h"
14491450 textual header "__locale_dir/locale_base_api/bsd_locale_defaults.h"
14501451 textual header "__locale_dir/locale_base_api/bsd_locale_fallbacks.h"
1452+ textual header "__locale_dir/locale_base_api/freebsd.h"
14511453 textual header "__locale_dir/locale_base_api/fuchsia.h"
14521454 textual header "__locale_dir/locale_base_api/ibm.h"
14531455 textual header "__locale_dir/locale_base_api/musl.h"
You can’t perform that action at this time.
0 commit comments