1 /*===---- __stddef_wchar.h - Definition of wchar_t -------------------------===
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
7 *===-----------------------------------------------------------------------===
10 #if !defined(__cplusplus) || (defined(_MSC_VER) && !_NATIVE_WCHAR_T_DEFINED)
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.
16 #if !defined(_WCHAR_T) || \
17 (__has_feature(modules) && !__building_module(_Builtin_stddef))
20 #ifdef _MSC_EXTENSIONS
21 #define _WCHAR_T_DEFINED
24 typedef __WCHAR_TYPE__ wchar_t;