#include "ext/standard/file.h"
#ifdef PHP_WIN32
+# include "win32/time.h"
# define SOCK_ERR INVALID_SOCKET
# define SOCK_CONN_ERR SOCKET_ERROR
# define PHP_TIMEOUT_ERROR_VALUE WSAETIMEDOUT
wset = rset;
if ((n = select(sockfd + 1, &rset, &wset, &eset, timeout)) == 0) {
- error = ETIMEDOUT;
+ error = PHP_TIMEOUT_ERROR_VALUE;
}
if(FD_ISSET(sockfd, &rset) || FD_ISSET(sockfd, &wset)) {
#include "streams/php_streams_int.h"
#include "php_network.h"
+#if defined(PHP_WIN32) || defined(__riscos__) || defined(NETWARE)
+# undef AF_UNIX
+#endif
+
#if defined(AF_UNIX)
#include <sys/un.h>
#endif
return PHP_STREAM_OPTION_RETURN_OK;
default:
/* fall through */
+ ;
}
/* fall through */
# Begin Group "Streams"\r
\r
# PROP Default_Filter ""\r
+# Begin Group "streams headers"\r
+\r
+# PROP Default_Filter ""\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_stream_context.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_stream_filter_api.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_stream_mmap.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_stream_plain_wrapper.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_stream_transport.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_stream_userspace.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\php_streams_int.h\r
+# End Source File\r
+# End Group\r
# Begin Source File\r
\r
SOURCE=..\main\streams\cast.c\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\main\streams\mmap.c\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\main\streams\plain_wrapper.c\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\main\streams\transports.c\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\ext\standard\user_filters.c\r
# End Source File\r
# Begin Source File\r
\r
SOURCE=..\main\streams\userspace.c\r
# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\main\streams\xp_socket.c\r
+# End Source File\r
# End Group\r
# Begin Source File\r
\r