forked from OSchip/llvm-project
[libc++][NFC] Rename include guards under /support/
For consistency with the rest of the code base.
This commit is contained in:
parent
143ca74ed3
commit
b938b8702f
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
|
||||
#define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
|
||||
#ifndef _LIBCPP___SUPPORT_ANDROID_LOCALE_BIONIC_H
|
||||
#define _LIBCPP___SUPPORT_ANDROID_LOCALE_BIONIC_H
|
||||
|
||||
#if defined(__BIONIC__)
|
||||
|
||||
|
@ -72,4 +72,4 @@ strtol_l(const char* __nptr, char** __endptr, int __base, locale_t) {
|
|||
#endif // defined(__ANDROID__)
|
||||
|
||||
#endif // defined(__BIONIC__)
|
||||
#endif // _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
|
||||
#endif // _LIBCPP___SUPPORT_ANDROID_LOCALE_BIONIC_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_FUCHSIA_XLOCALE_H
|
||||
#define _LIBCPP_SUPPORT_FUCHSIA_XLOCALE_H
|
||||
#ifndef _LIBCPP___SUPPORT_FUCHSIA_XLOCALE_H
|
||||
#define _LIBCPP___SUPPORT_FUCHSIA_XLOCALE_H
|
||||
|
||||
#if defined(__Fuchsia__)
|
||||
|
||||
|
@ -19,4 +19,4 @@
|
|||
|
||||
#endif // defined(__Fuchsia__)
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_FUCHSIA_XLOCALE_H
|
||||
#endif // _LIBCPP___SUPPORT_FUCHSIA_XLOCALE_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_IBM_GETTOD_ZOS_H
|
||||
#define _LIBCPP_SUPPORT_IBM_GETTOD_ZOS_H
|
||||
#ifndef _LIBCPP___SUPPORT_IBM_GETTOD_ZOS_H
|
||||
#define _LIBCPP___SUPPORT_IBM_GETTOD_ZOS_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
@ -51,4 +51,4 @@ gettimeofdayMonotonic(struct timespec64* Output) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_IBM_GETTOD_ZOS_H
|
||||
#endif // _LIBCPP___SUPPORT_IBM_GETTOD_ZOS_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_IBM_LOCALE_MGMT_ZOS_H
|
||||
#define _LIBCPP_SUPPORT_IBM_LOCALE_MGMT_ZOS_H
|
||||
#ifndef _LIBCPP___SUPPORT_IBM_LOCALE_MGMT_ZOS_H
|
||||
#define _LIBCPP___SUPPORT_IBM_LOCALE_MGMT_ZOS_H
|
||||
|
||||
#if defined(__MVS__)
|
||||
#include <locale.h>
|
||||
|
@ -50,4 +50,4 @@ locale_t uselocale(locale_t newloc);
|
|||
}
|
||||
#endif
|
||||
#endif // defined(__MVS__)
|
||||
#endif // _LIBCPP_SUPPORT_IBM_LOCALE_MGMT_ZOS_H
|
||||
#endif // _LIBCPP___SUPPORT_IBM_LOCALE_MGMT_ZOS_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_IBM_NANOSLEEP_H
|
||||
#define _LIBCPP_SUPPORT_IBM_NANOSLEEP_H
|
||||
#ifndef _LIBCPP___SUPPORT_IBM_NANOSLEEP_H
|
||||
#define _LIBCPP___SUPPORT_IBM_NANOSLEEP_H
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -52,4 +52,4 @@ inline int nanosleep(const struct timespec* __req, struct timespec* __rem) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_IBM_NANOSLEEP_H
|
||||
#endif // _LIBCPP___SUPPORT_IBM_NANOSLEEP_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_IBM_XLOCALE_H
|
||||
#define _LIBCPP_SUPPORT_IBM_XLOCALE_H
|
||||
#ifndef _LIBCPP___SUPPORT_IBM_XLOCALE_H
|
||||
#define _LIBCPP___SUPPORT_IBM_XLOCALE_H
|
||||
|
||||
#if defined(__MVS__)
|
||||
#include <__support/ibm/locale_mgmt_zos.h>
|
||||
|
@ -126,4 +126,4 @@ vasprintf(char **strp, const char *fmt, va_list ap) {
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_SUPPORT_IBM_XLOCALE_H
|
||||
#endif // _LIBCPP___SUPPORT_IBM_XLOCALE_H
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
// in Musl.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_MUSL_XLOCALE_H
|
||||
#define _LIBCPP_SUPPORT_MUSL_XLOCALE_H
|
||||
#ifndef _LIBCPP___SUPPORT_MUSL_XLOCALE_H
|
||||
#define _LIBCPP___SUPPORT_MUSL_XLOCALE_H
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cwchar>
|
||||
|
@ -53,4 +53,4 @@ wcstold_l(const wchar_t *__nptr, wchar_t **__endptr, locale_t) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_MUSL_XLOCALE_H
|
||||
#endif // _LIBCPP___SUPPORT_MUSL_XLOCALE_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H
|
||||
#define _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H
|
||||
#ifndef _LIBCPP___SUPPORT_NEWLIB_XLOCALE_H
|
||||
#define _LIBCPP___SUPPORT_NEWLIB_XLOCALE_H
|
||||
|
||||
#if defined(_NEWLIB_VERSION)
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_OPENBSD_XLOCALE_H
|
||||
#define _LIBCPP_SUPPORT_OPENBSD_XLOCALE_H
|
||||
#ifndef _LIBCPP___SUPPORT_OPENBSD_XLOCALE_H
|
||||
#define _LIBCPP___SUPPORT_OPENBSD_XLOCALE_H
|
||||
|
||||
#include <__support/xlocale/__strtonum_fallback.h>
|
||||
#include <clocale>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_WIN32_LOCALE_WIN32_H
|
||||
#define _LIBCPP_SUPPORT_WIN32_LOCALE_WIN32_H
|
||||
#ifndef _LIBCPP___SUPPORT_WIN32_LOCALE_WIN32_H
|
||||
#define _LIBCPP___SUPPORT_WIN32_LOCALE_WIN32_H
|
||||
|
||||
#include <__config>
|
||||
#include <cstddef>
|
||||
|
@ -279,4 +279,4 @@ inline int iswblank_l( wint_t __c, locale_t /*loc*/ )
|
|||
return ( __c == L' ' || __c == L'\t' );
|
||||
}
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_WIN32_LOCALE_WIN32_H
|
||||
#endif // _LIBCPP___SUPPORT_WIN32_LOCALE_WIN32_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
|
||||
#define _LIBCPP_SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
|
||||
#ifndef _LIBCPP___SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
|
||||
#define _LIBCPP___SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
|
||||
|
||||
#include <__config>
|
||||
|
||||
|
@ -55,4 +55,4 @@ uselocale(locale_t) {
|
|||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
|
||||
#endif // _LIBCPP___SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
// Android's bionic and Newlib).
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
|
||||
#define _LIBCPP_SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
|
||||
#ifndef _LIBCPP___SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
|
||||
#define _LIBCPP___SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
|
||||
|
||||
#include <__config>
|
||||
#include <ctype.h>
|
||||
|
@ -173,4 +173,4 @@ wcsxfrm_l(wchar_t *__dest, const wchar_t *__src, size_t __n, locale_t) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
|
||||
#endif // _LIBCPP___SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
// convert strings to some numeric type.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef _LIBCPP_SUPPORT_XLOCALE_STRTONUM_FALLBACK_H
|
||||
#define _LIBCPP_SUPPORT_XLOCALE_STRTONUM_FALLBACK_H
|
||||
#ifndef _LIBCPP___SUPPORT_XLOCALE_STRTONUM_FALLBACK_H
|
||||
#define _LIBCPP___SUPPORT_XLOCALE_STRTONUM_FALLBACK_H
|
||||
|
||||
#include <__config>
|
||||
#include <stdlib.h>
|
||||
|
@ -72,4 +72,4 @@ wcstold_l(const wchar_t *__nptr, wchar_t **__endptr, locale_t) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_SUPPORT_XLOCALE_STRTONUM_FALLBACK_H
|
||||
#endif // _LIBCPP___SUPPORT_XLOCALE_STRTONUM_FALLBACK_H
|
||||
|
|
Loading…
Reference in New Issue