From 0a18a9d744afb9d97d46bad1f40c11a047bad5df Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 16 Feb 2003 03:48:49 +0000 Subject: A add much more useful select(2) implementation than is provided by windows sockets. The winsock implementation will only work with sockets; our implementation works with sockets and file descriptors. By association, stream_select() will now operate correctly with files, pipes and sockets. This change required linking against the winsock2 library. In terms of compatibility, only older versions of windows 95 do not have winsock2 installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user. Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x. --- win32/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/time.h') diff --git a/win32/time.h b/win32/time.h index f0514ebe59..4d6c8a2bc2 100644 --- a/win32/time.h +++ b/win32/time.h @@ -13,7 +13,7 @@ #define TIME_H /* Include stuff ************************************************************ */ -#include +#include #include #include -- cgit v1.2.1