diff --git a/include/fmt/os.h b/include/fmt/os.h index fd701555..2b517cd4 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -13,14 +13,14 @@ #include #include // std::system_error +#include "format.h" + #if defined __APPLE__ || defined(__FreeBSD__) -# if (__cplusplus < 201703L) || __has_include() +# if FMT_HAS_INCLUDE() # include // for LC_NUMERIC_MASK on OS X # endif #endif -#include "format.h" - #ifndef FMT_USE_FCNTL // UWP doesn't provide _pipe. # if FMT_HAS_INCLUDE("winapifamily.h")