From: Eric Haszlakiewicz Date: Sun, 7 Jun 2020 03:27:13 +0000 (+0000) Subject: On MSVC, add a ssize_t typedef using SSIZE_T from BaseTsd.h X-Git-Tag: json-c-0.15-20200726~34^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0466b626be8075280ac69b6d63fe747955357e0;p=json-c On MSVC, add a ssize_t typedef using SSIZE_T from BaseTsd.h --- diff --git a/json_inttypes.h b/json_inttypes.h index e047d4f..e51da74 100644 --- a/json_inttypes.h +++ b/json_inttypes.h @@ -21,4 +21,9 @@ #endif +#ifdef _MSC_VER +#include +typedef SSIZE_T ssize_t; +#endif + #endif