summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-13 21:45:11 -0700
committerKhem Raj <raj.khem@gmail.com>2022-08-13 21:45:11 -0700
commitd1deed499f2c94c1ba39326fe1742c6f78bf455d (patch)
tree4ce4b6818af684205a011b099630b1bc76ef3a04
parent6eca65617aacd19f4928acd5766b8dd20eda0b34 (diff)
downloadjson-c-d1deed499f2c94c1ba39326fe1742c6f78bf455d.tar.gz
json_inttypes.h: Define ssize_t on windows platforms
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--json_inttypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/json_inttypes.h b/json_inttypes.h
index e047d4f..a901a8e 100644
--- a/json_inttypes.h
+++ b/json_inttypes.h
@@ -21,4 +21,9 @@
#endif
+#if defined(_MSC_VER)
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
+#endif
+
#endif