diff --git a/src/include/OpenImageIO/detail/fmt.h b/src/include/OpenImageIO/detail/fmt.h index 3558152ae7..111b0d5b8e 100644 --- a/src/include/OpenImageIO/detail/fmt.h +++ b/src/include/OpenImageIO/detail/fmt.h @@ -14,11 +14,6 @@ # define FMT_HEADER_ONLY #endif -// Disable fmt exceptions -#ifndef FMT_EXCEPTIONS -# define FMT_EXCEPTIONS 0 -#endif - #if OIIO_VERSION_LESS(3, 1, 2) /* DEPRECATED -- remove at next ABI compatibility boundary */ OIIO_NAMESPACE_3_1_BEGIN @@ -29,12 +24,6 @@ log_fmt_error(const char* message); OIIO_NAMESPACE_3_1_END #endif -// Use the grisu fast floating point formatting for old fmt versions -// (irrelevant for >= 7.1). -#ifndef FMT_USE_GRISU -# define FMT_USE_GRISU 1 -#endif - // fmt 8.1 stopped automatically enabling formatting of anything that supports // ostream output. This breaks a lot! Re-enable this old behavior. // NOTE: fmt 10.0 removed this support entirely.