mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
stage1 fixes to support building with 32-bit mingw-w64
This commit is contained in:
parent
9ed00b3829
commit
41cb49eb58
@ -37,7 +37,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <ntsecapi.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
#else
|
||||
#define ZIG_OS_POSIX
|
||||
|
||||
|
||||
@ -50,7 +50,9 @@ enum ZigClangAPValueKind {
|
||||
struct ZigClangAPValue {
|
||||
enum ZigClangAPValueKind Kind;
|
||||
// experimentally-derived size of clang::APValue::DataType
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
#if defined(_WIN32) && defined(__i386__)
|
||||
char Data[68];
|
||||
#elif defined(_WIN32) && defined(_MSC_VER)
|
||||
char Data[52];
|
||||
#elif defined(__i386__)
|
||||
char Data[48];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user