3rdparty: Add fmt from upstream

This commit is contained in:
Jonathan G Rennison
2023-03-03 23:57:13 +00:00
parent 088cc20186
commit a2d2dcd3d5
7 changed files with 8918 additions and 0 deletions

View File

@@ -506,6 +506,9 @@ typedef uint32 unaligned_uint32;
typedef uint64 unaligned_uint64;
#endif /* __GNUC__ || __clang__ */
/* For the FMT library we only want to use the headers, not link to some library. */
#define FMT_HEADER_ONLY
void NORETURN CDECL usererror(const char *str, ...) WARN_FORMAT(1, 2);
void NORETURN CDECL error(const char *str, ...) WARN_FORMAT(1, 2);
void NORETURN CDECL assert_msg_error(int line, const char *file, const char *expr, const char *extra, const char *str, ...) WARN_FORMAT(5, 6);