Created
February 24, 2009 11:29
-
-
Save mattn/69523 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- IO.xs.orig 2006-03-26 11:27:13.000000000 +0900 | |
+++ IO.xs 2009-02-24 20:16:34.921875000 +0900 | |
@@ -121,7 +121,12 @@ | |
} | |
return RETVAL; | |
#else | |
+# ifdef WIN32 | |
+ unsigned long flags = block; | |
+ return ioctl(PerlIO_fileno(f), FIONBIO, &flags); | |
+# else | |
return -1; | |
+# endif | |
#endif | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment