File tree 5 files changed +38
-2
lines changed
5 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -492,8 +492,10 @@ set(files
492
492
__locale
493
493
__locale_dir/locale_base_api.h
494
494
__locale_dir/locale_base_api/android.h
495
+ __locale_dir/locale_base_api/apple .h
495
496
__locale_dir/locale_base_api/bsd_locale_defaults.h
496
497
__locale_dir/locale_base_api/bsd_locale_fallbacks.h
498
+ __locale_dir/locale_base_api/freebsd.h
497
499
__locale_dir/locale_base_api/fuchsia.h
498
500
__locale_dir/locale_base_api/ibm.h
499
501
__locale_dir/locale_base_api/musl.h
Original file line number Diff line number Diff line change 21
21
# include <__locale_dir/locale_base_api/fuchsia.h>
22
22
#elif defined(__wasi__ ) || defined(_LIBCPP_HAS_MUSL_LIBC )
23
23
# 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>
26
28
#endif
27
29
28
30
#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] {
1446
1446
header "__locale_dir/locale_guard.h"
1447
1447
module locale_base_api {
1448
1448
textual header "__locale_dir/locale_base_api/android.h"
1449
+ textual header "__locale_dir/locale_base_api/apple.h"
1449
1450
textual header "__locale_dir/locale_base_api/bsd_locale_defaults.h"
1450
1451
textual header "__locale_dir/locale_base_api/bsd_locale_fallbacks.h"
1452
+ textual header "__locale_dir/locale_base_api/freebsd.h"
1451
1453
textual header "__locale_dir/locale_base_api/fuchsia.h"
1452
1454
textual header "__locale_dir/locale_base_api/ibm.h"
1453
1455
textual header "__locale_dir/locale_base_api/musl.h"
You can’t perform that action at this time.
0 commit comments