From dc990bc79d0d7663bd6e775d2253e158b74686b4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:27:01 +0200 Subject: Merging upstream version 3.17.1. Signed-off-by: Daniel Baumann --- src/cjson.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/cjson.c') diff --git a/src/cjson.c b/src/cjson.c index 02d8d60..46495f4 100644 --- a/src/cjson.c +++ b/src/cjson.c @@ -45,9 +45,8 @@ #include #include #include -#ifdef HAVE_STDINT_H #include -#endif +#include #include #ifdef ENABLE_LOCALES @@ -90,25 +89,6 @@ #endif #endif -#if defined(HAVE_INTTYPES_H) -# include -#else -# ifndef PRIu64 -# if sizeof(long) == 8 -# define PRIu64 "lu" -# else -# define PRIu64 "llu" -# endif -# ifndef PRId64 -# if sizeof(long) == 8 -# define PRId64 "ld" -# else -# define PRId64 "lld" -# endif -# endif -# endif -#endif - typedef struct { const unsigned char *json; size_t position; -- cgit v1.2.3