Browse Source

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

tags/json-c-0.15-20200726
Eric Haszlakiewicz 5 years ago
parent
commit
ecdfeb18cf
2 changed files with 5 additions and 5 deletions
  1. +0
    -5
      json_inttypes.h
  2. +5
    -0
      json_object_private.h

+ 0
- 5
json_inttypes.h View File

@@ -21,9 +21,4 @@

#endif

#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif

#endif

+ 5
- 0
json_object_private.h 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*/


Loading…
Cancel
Save