The current implementation of fmt::output_file is only for non-Windows OS when FMT_USE_FCNTL is 1.
This is a bad design philosophy leading to code that is not-compatible across OS'es. As a resolution, either fmt::output_file and related methods should be defined for Windows or they should be removed to maintain OS-agnostic behavior.