stage1 fixes to support building with 32-bit mingw-w64

This commit is contained in:
Andrew Kelley committed 2020-04-06 20:30:34 -04:00
1 parent 9ed00b3829
commit 41cb49eb58
2 files changed
+5 -1

No files matched your search

+2
View File
@@ -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
View File
@@ -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];