mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
stage1 fixes to support building with 32-bit mingw-w64
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
+3
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user