Move the ssize_t typedef from json_inttypes.h to json_object_private.h so as not to affect publically exposed symbols.

This commit is contained in:
Eric Haszlakiewicz
2020-06-07 18:29:56 +00:00
parent 66d91fdf86
commit ecdfeb18cf
2 changed files with 5 additions and 5 deletions

View File

@@ -21,9 +21,4 @@
#endif
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#endif

View File

@@ -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*/