File tree Expand file tree Collapse file tree 5 files changed +27
-1
lines changed Expand file tree Collapse file tree 5 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ set(files
522
522
__locale_dir/support/freebsd.h
523
523
__locale_dir/support/fuchsia.h
524
524
__locale_dir/support/linux.h
525
+ __locale_dir/support/netbsd.h
525
526
__locale_dir/support/no_locale/characters.h
526
527
__locale_dir/support/no_locale/strtonum.h
527
528
__locale_dir/support/windows.h
Original file line number Diff line number Diff line change 117
117
# include < __locale_dir/support/apple.h>
118
118
# elif defined(__FreeBSD__)
119
119
# include < __locale_dir/support/freebsd.h>
120
+ # elif defined(__NetBSD__)
121
+ # include < __locale_dir/support/netbsd.h>
120
122
# elif defined(_LIBCPP_MSVCRT_LIKE)
121
123
# include < __locale_dir/support/windows.h>
122
124
# elif defined(__Fuchsia__)
Original file line number Diff line number Diff line change 24
24
# include < wctype.h>
25
25
#endif
26
26
27
- #include < xlocale.h>
27
+ #if __has_include(<xlocale.h>)
28
+ # include < xlocale.h>
29
+ #endif
28
30
29
31
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
30
32
# pragma GCC system_header
Original file line number Diff line number Diff line change
1
+ //===-----------------------------------------------------------------------===//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ //===----------------------------------------------------------------------===//
8
+
9
+ #ifndef _LIBCPP___LOCALE_DIR_SUPPORT_NETBSD_H
10
+ #define _LIBCPP___LOCALE_DIR_SUPPORT_NETBSD_H
11
+
12
+ #include <__config>
13
+
14
+ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER )
15
+ # pragma GCC system_header
16
+ #endif
17
+
18
+ #include <__locale_dir/support/bsd_like.h>
19
+
20
+ #endif // _LIBCPP___LOCALE_DIR_SUPPORT_NETBSD_H
Original file line number Diff line number Diff line change @@ -1560,6 +1560,7 @@ module std [system] {
1560
1560
textual header "__locale_dir/support/freebsd.h"
1561
1561
textual header "__locale_dir/support/fuchsia.h"
1562
1562
textual header "__locale_dir/support/linux.h"
1563
+ textual header "__locale_dir/support/netbsd.h"
1563
1564
textual header "__locale_dir/support/no_locale/characters.h"
1564
1565
textual header "__locale_dir/support/no_locale/strtonum.h"
1565
1566
textual header "__locale_dir/support/windows.h"
You can’t perform that action at this time.
0 commit comments