mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 20:39: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
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#include <BaseTsd.h>
|
|
||||||
typedef SSIZE_T ssize_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ struct json_object;
|
|||||||
#include "json_inttypes.h"
|
#include "json_inttypes.h"
|
||||||
#include "json_types.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);
|
typedef void (json_object_private_delete_fn)(struct json_object *o);
|
||||||
|
|
||||||
/* json object int type, support extension*/
|
/* json object int type, support extension*/
|
||||||
|
|||||||
Reference in New Issue
Block a user