From: Khem Raj Date: Sun, 14 Aug 2022 04:45:11 +0000 (-0700) Subject: json_inttypes.h: Define ssize_t on windows platforms X-Git-Tag: json-c-0.17-20230812~32^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1deed499f2c94c1ba39326fe1742c6f78bf455d;p=thirdparty%2Fjson-c.git json_inttypes.h: Define ssize_t on windows platforms Signed-off-by: Khem Raj --- diff --git a/json_inttypes.h b/json_inttypes.h index e047d4f1..a901a8ef 100644 --- a/json_inttypes.h +++ b/json_inttypes.h @@ -21,4 +21,9 @@ #endif +#if defined(_MSC_VER) +#include +typedef SSIZE_T ssize_t; +#endif + #endif