From 07419b18ab80712fad532eace34fb5cf28d0a86b Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 24 Jun 2017 21:18:12 +0000 Subject: [PATCH] Workaround for MSVC bug git-svn-id: https://svn.eduke32.com/eduke32@6272 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/build/include/compat.h b/source/build/include/compat.h index 3140a7b26..26981dcc2 100644 --- a/source/build/include/compat.h +++ b/source/build/include/compat.h @@ -384,8 +384,9 @@ defined __x86_64__ || defined __amd64__ || defined _M_X64 || defined _M_IA64 || ////////// DEPRECATED: Standard library prefixing ////////// #ifdef _MSC_VER -typedef intptr_t ssize_t; +typedef int32_t ssize_t; #endif + typedef size_t bsize_t; typedef ssize_t bssize_t;