Path: blob/main/contrib/llvm-project/clang/lib/Headers/__stddef_wchar_t.h
35233 views
/*===---- __stddef_wchar.h - Definition of wchar_t -------------------------===1*2* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3* See https://llvm.org/LICENSE.txt for license information.4* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5*6*===-----------------------------------------------------------------------===7*/89#if !defined(__cplusplus) || (defined(_MSC_VER) && !_NATIVE_WCHAR_T_DEFINED)1011/*12* When -fbuiltin-headers-in-system-modules is set this is a non-modular header13* and needs to behave as if it was textual.14*/15#if !defined(_WCHAR_T) || \16(__has_feature(modules) && !__building_module(_Builtin_stddef))17#define _WCHAR_T1819#ifdef _MSC_EXTENSIONS20#define _WCHAR_T_DEFINED21#endif2223typedef __WCHAR_TYPE__ wchar_t;2425#endif2627#endif282930