mirror of
https://github.com/ziglang/zig.git
synced 2026-01-01 19:13:16 +00:00
zig_clang: Fix size of ZigClangAPValue for Clang 20.
Fixes failing tarball builds for x86-linux and x86-windows. The MSVC special case here is very sus, but that's a problem for another day.
This commit is contained in:
parent
36b9e56753
commit
f13292abbc
@ -68,12 +68,10 @@ enum ZigClangAPValueKind {
|
||||
struct ZigClangAPValue {
|
||||
enum ZigClangAPValueKind Kind;
|
||||
// experimentally-derived size of clang::APValue::DataType
|
||||
#if defined(_WIN32) && defined(__i386__)
|
||||
char Data[68];
|
||||
#elif defined(_WIN32) && defined(_MSC_VER)
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
char Data[52];
|
||||
#elif defined(__i386__)
|
||||
char Data[48];
|
||||
#elif defined(__i386__) && !defined(_WIN32)
|
||||
char Data[44];
|
||||
#else
|
||||
char Data[52];
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user