authorgravatar for prc.zhao@outlook.comSizhe Zhao <prc.zhao@outlook.com> 2020-12-31 22:16:35+08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-01 13:47:18-08:00
log3bce5b2f30c2f711a5e8cf481fc8f6381f7b1436
tree844f770aefe3e6f66c5528c8f6ab166ad3a02bab
parent99203e4177a7c2fe80b1c08d86c295c61795f33f

Fix ssize_t definition


1 files changed, 3 insertions(+), 1 deletions(-)

src/stage1/os.cpp+3-1
......@@ -42,7 +42,9 @@
4242#include <fcntl.h>
4343#include <ntsecapi.h>
4444
45#if defined(_MSC_VER)
45// Workaround an upstream LLVM issue.
46// See https://github.com/ziglang/zig/issues/7614#issuecomment-752939981
47#if defined(_MSC_VER) && defined(_WIN64)
4648typedef SSIZE_T ssize_t;
4749#endif
4850#else