]> granicus.if.org Git - json-c/commitdiff
On MSVC, add a ssize_t typedef using SSIZE_T from BaseTsd.h
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 7 Jun 2020 03:27:13 +0000 (03:27 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 7 Jun 2020 03:27:13 +0000 (03:27 +0000)
json_inttypes.h

index e047d4f18b48901071ff265072d0f8a3f54f49b7..e51da74385b23268976d0e2515e36384e14bb3af 100644 (file)
@@ -21,4 +21,9 @@
 
 #endif
 
+#ifdef _MSC_VER
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
+#endif
+
 #endif