Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/libcxx/include/__locale_dir/locale_base_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
# include <__locale_dir/support/apple.h>
#elif defined(__FreeBSD__)
# include <__locale_dir/support/freebsd.h>
#elif defined(__NetBSD__)
# include <__locale_dir/support/netbsd.h>
#elif defined(_LIBCPP_MSVCRT_LIKE)
# include <__locale_dir/support/windows.h>
#elif defined(__Fuchsia__)
Expand Down
2 changes: 2 additions & 0 deletions lib/libcxx/include/__locale_dir/support/apple.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# pragma GCC system_header
#endif

#include <xlocale.h>

#include <__locale_dir/support/bsd_like.h>

#endif // _LIBCPP___LOCALE_DIR_SUPPORT_APPLE_H
2 changes: 0 additions & 2 deletions lib/libcxx/include/__locale_dir/support/bsd_like.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
# include <wctype.h>
#endif

#include <xlocale.h>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
Expand Down
2 changes: 2 additions & 0 deletions lib/libcxx/include/__locale_dir/support/freebsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# pragma GCC system_header
#endif

#include <xlocale.h>

#include <__locale_dir/support/bsd_like.h>

#endif // _LIBCPP___LOCALE_DIR_SUPPORT_FREEBSD_H
20 changes: 20 additions & 0 deletions lib/libcxx/include/__locale_dir/support/netbsd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//===-----------------------------------------------------------------------===//
//
// 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_NETBSD_H
#define _LIBCPP___LOCALE_DIR_SUPPORT_NETBSD_H

#include <__config>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif

#include <__locale_dir/support/bsd_like.h>

#endif // _LIBCPP___LOCALE_DIR_SUPPORT_NETBSD_H