mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 21:49:07 +08:00
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:
@@ -21,9 +21,4 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user