Set JSON_NO_IO to disable IO streams support in JSON headers

This commit is contained in:
Jonathan G Rennison 2024-09-01 22:43:47 +01:00
parent 3ede660ccc
commit add6e42162

View File

@ -390,6 +390,9 @@ typedef uint64_t unaligned_uint64;
/* Upstream: For the FMT library we only want to use the headers, not link to some library. */
//#define FMT_HEADER_ONLY
/* JSON: Don't include IO stream headers/support */
#define JSON_NO_IO
[[noreturn]] void CDECL usererror(const char *str, ...) WARN_FORMAT(1, 2);
[[noreturn]] void CDECL error(const char *str, ...) WARN_FORMAT(1, 2);
[[noreturn]] void CDECL assert_msg_error(int line, const char *file, const char *expr, const char *extra, const char *str, ...) WARN_FORMAT(5, 6);