mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Set JSON_NO_IO to disable IO streams support in JSON headers
This commit is contained in:
parent
3ede660ccc
commit
add6e42162
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user