Skip to content

Commit 6d9034e

Browse files
committed
fix
1 parent 72a0402 commit 6d9034e

File tree

1 file changed

+2
-1
lines changed
  • include/fast_io_hosted/platforms

1 file changed

+2
-1
lines changed

include/fast_io_hosted/platforms/posix.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
namespace fast_io
6363
{
64-
64+
#if ((!defined(_WIN32) || defined(__WINE__)) || defined(__CYGWIN__))
6565
namespace posix
6666
{
6767
#if defined(__DARWIN_C_LEVEL) || defined(__MSDOS__)
@@ -70,6 +70,7 @@ extern int libc_ioctl(int fd, unsigned long request, ...) noexcept __asm__("_ioc
7070
extern int libc_ioctl(int fd, unsigned long request, ...) noexcept __asm__("ioctl");
7171
#endif
7272
} // namespace posix
73+
#endif
7374

7475
enum class posix_family
7576
{

0 commit comments

Comments
 (0)