This commit is contained in:
Ashton Fagg 2020-11-06 17:37:45 -05:00
parent 61e57b32a0
commit 68ed04e7a1

View File

@ -31,8 +31,7 @@
#endif
#if (FMT_HAS_INCLUDE(<fcntl.h>) || defined(__APPLE__) || \
defined(__linux__)) && \
(!defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)) && \
(!defined(__OpenBSD__))
(!defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP))
# include <fcntl.h> // for O_RDONLY
# define FMT_USE_FCNTL 1
#else