clang 20.0.0git
__stddef_wchar_t.h
Go to the documentation of this file.
1/*===---- __stddef_wchar.h - Definition of wchar_t -------------------------===
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
10#if !defined(__cplusplus) || (defined(_MSC_VER) && !_NATIVE_WCHAR_T_DEFINED)
11
12/*
13 * When -fbuiltin-headers-in-system-modules is set this is a non-modular header
14 * and needs to behave as if it was textual.
15 */
16#if !defined(_WCHAR_T) || \
17 (__has_feature(modules) && !__building_module(_Builtin_stddef))
18#define _WCHAR_T
19
20#ifdef _MSC_EXTENSIONS
21#define _WCHAR_T_DEFINED
22#endif
23
24typedef __WCHAR_TYPE__ wchar_t;
25
26#endif
27
28#endif
__WCHAR_TYPE__ wchar_t