diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 838ac7df..76eed5f1 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -1489,12 +1489,16 @@ template auto getc_unlocked(F* f) -> decltype(_fgetc_nolock(f)) { } #endif +#ifndef FMT_USE_FLOCKFILE +# define FMT_USE_FLOCKFILE 1 +#endif + template struct has_flockfile : std::false_type {}; template struct has_flockfile()))>> - : std::true_type {}; + : bool_constant {}; // A FILE wrapper. F is FILE defined as a template parameter to make system API // detection work.