diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-28 11:54:23 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-28 11:54:23 -0700 |
| commit | d3389eadf42417deae2d9ba01f9529be861fb998 (patch) | |
| tree | 2a6037fd6085762be5e99cbb390f3157c4b22b1c /lib/include/stddef.h | |
| parent | adb4a953021aadcfd539589eeccc2fe4e6ab827a (diff) | |
| download | zig-d3389eadf42417deae2d9ba01f9529be861fb998.tar.gz zig-d3389eadf42417deae2d9ba01f9529be861fb998.zip | |
update C headers to LLVM 15
release/15.x 37007475ca1b345b4c5d340e228bcd7a62732d81
Diffstat (limited to 'lib/include/stddef.h')
| -rw-r--r-- | lib/include/stddef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/include/stddef.h b/lib/include/stddef.h index 15acd4427c..a15d21b553 100644 --- a/lib/include/stddef.h +++ b/lib/include/stddef.h @@ -62,7 +62,7 @@ typedef __SIZE_TYPE__ rsize_t; #endif /* defined(__need_STDDEF_H_misc) */ #if defined(__need_wchar_t) -#ifndef __cplusplus +#if !defined(__cplusplus) || (defined(_MSC_VER) && !_NATIVE_WCHAR_T_DEFINED) /* Always define wchar_t when modules are available. */ #if !defined(_WCHAR_T) || __has_feature(modules) #if !__has_feature(modules) |
