Skip to content

Commit dc484bc

Browse files
Bugfix: Avoid export posix libc symbol on windows in fast_io for C++20 module (#1188)
1 parent de3a564 commit dc484bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

share/fast_io/fast_io_inc/host/posix.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ export namespace fast_io
44
using ::fast_io::posix_stdin_number;
55
using ::fast_io::posix_stdout_number;
66
using ::fast_io::posix_stderr_number;
7-
7+
#if ((!defined(_WIN32) || defined(__WINE__)) || defined(__CYGWIN__))
88
namespace posix
99
{
1010
using ::fast_io::posix::libc_ioctl;
1111
}
12+
#endif
1213
}

0 commit comments

Comments
 (0)