mirror of
https://github.com/fmtlib/fmt.git
synced 2026-09-13 14:22:26 +08:00
Fix fcntl include in module build
This commit is contained in:
parent
3894ae35ef
commit
40c4f4febb
@ -31,7 +31,9 @@
|
||||
(!defined(WINAPI_FAMILY) || \
|
||||
(WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)) && \
|
||||
!defined(__wasm__)
|
||||
# include <fcntl.h> // for O_RDONLY
|
||||
# ifndef FMT_MODULE
|
||||
# include <fcntl.h> // for O_RDONLY
|
||||
# endif
|
||||
# define FMT_USE_FCNTL 1
|
||||
# else
|
||||
# define FMT_USE_FCNTL 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user