We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ecfe3 commit 553ec11Copy full SHA for 553ec11
include/fmt/os.h
@@ -29,7 +29,8 @@
29
# if (FMT_HAS_INCLUDE(<fcntl.h>) || defined(__APPLE__) || \
30
defined(__linux__)) && \
31
(!defined(WINAPI_FAMILY) || \
32
- (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP))
+ (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)) && \
33
+ !defined(__wasm__)
34
# include <fcntl.h> // for O_RDONLY
35
# define FMT_USE_FCNTL 1
36
# else
0 commit comments