diff options
Diffstat (limited to 'ext/IO/IO.xs')
-rw-r--r-- | ext/IO/IO.xs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/IO/IO.xs b/ext/IO/IO.xs index 6741905b7b..92a51b6fb7 100644 --- a/ext/IO/IO.xs +++ b/ext/IO/IO.xs @@ -444,11 +444,11 @@ sockatmark (sock) { int flag = 0; # ifdef SIOCATMARK - #ifdef NETWARE +# ifdef NETWARE if (ioctl(fd, SIOCATMARK, (void*)&flag) != 0) - #else - if (ioctl(fd, SIOCATMARK, &flag) != 0) - #endif +# else + if (ioctl(fd, SIOCATMARK, &flag) != 0) +# endif XSRETURN_UNDEF; # else not_here("IO::Socket::atmark"); |