diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2020-06-07 18:29:56 +0000 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2020-06-07 18:29:56 +0000 |
commit | ecdfeb18cf8df1bf519785f3353d1e4ab87c3a9c (patch) | |
tree | b9f3d18f4ea9f52ae9a86cce08157853395a5aa8 /json_object_private.h | |
parent | 66d91fdf86bb650201da37e704c29c197a1dadd9 (diff) | |
download | json-c-ecdfeb18cf8df1bf519785f3353d1e4ab87c3a9c.tar.gz |
Move the ssize_t typedef from json_inttypes.h to json_object_private.h so as not to affect publically exposed symbols.
Diffstat (limited to 'json_object_private.h')
-rw-r--r-- | json_object_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/json_object_private.h b/json_object_private.h index c7b4d1f..8132a33 100644 --- a/json_object_private.h +++ b/json_object_private.h @@ -24,6 +24,11 @@ struct json_object; #include "json_inttypes.h" #include "json_types.h" +#ifdef _MSC_VER +#include <BaseTsd.h> +typedef SSIZE_T ssize_t; +#endif + typedef void (json_object_private_delete_fn)(struct json_object *o); /* json object int type, support extension*/ |