FMT_EXCEPTIONS -> FMT_USE_EXCEPTIONS

This commit is contained in:
Victor Zverovich
2024-09-11 19:34:12 -07:00
parent 89999f1672
commit b6a6ec7f1c
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ FMT_FUNC auto write_loc(appender out, loc_value value,
} // namespace detail
FMT_FUNC void report_error(const char* message) {
#if FMT_EXCEPTIONS
#if FMT_USE_EXCEPTIONS
throw format_error(message);
#else
fputs(message, stderr);