| author | |
| committer | |
| log | 0435026474cc3489337f3d6a7ac9d2e5cb1b7044 |
| tree | cfb33bc71cf7f548183f62c4bef67ee97a93bb71 |
| parent | 68149f2039bd203514571f0304e72897b4583ff2 |
2 files changed, 2 insertions(+), 2 deletions(-)
src-self-hosted/clang.zig+1-1| ... | ... | @@ -940,7 +940,7 @@ pub const struct_ZigClangExprEvalResult = extern struct { |
| 940 | 940 | |
| 941 | 941 | pub const struct_ZigClangAPValue = extern struct { |
| 942 | 942 | Kind: ZigClangAPValue_ValueKind, |
| 943 | Data: if (builtin.os == .windows) [52]u8 else [68]u8, | |
| 943 | Data: if (builtin.os == .windows and builtin.abi == .msvc) [52]u8 else [68]u8, | |
| 944 | 944 | }; |
| 945 | 945 | |
| 946 | 946 | pub const ZigClangAPValue_ValueKind = extern enum { |
src/zig_clang.h+1-1| ... | ... | @@ -48,7 +48,7 @@ enum ZigClangAPValue_ValueKind { |
| 48 | 48 | struct ZigClangAPValue { |
| 49 | 49 | enum ZigClangAPValue_ValueKind Kind; |
| 50 | 50 | // experimentally-derived size of clang::APValue::DataType |
| 51 | #ifdef _WIN32 | |
| 51 | #if defined(WIN32) && defined(_MSC_VER) | |
| 52 | 52 | char Data[52]; |
| 53 | 53 | #else |
| 54 | 54 | char Data[68]; |