brintos

brintos / llvm-project-archived public Read only

0
0
Text · 853 B · bd69f63 Raw
29 lines · c
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-exception6 *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 header14 * 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_T19 20#ifdef _MSC_EXTENSIONS21#define _WCHAR_T_DEFINED22#endif23 24typedef __WCHAR_TYPE__ wchar_t;25 26#endif27 28#endif29