PHP_FE(file_get_wrapper_data, NULL)
PHP_FE(file_register_wrapper, NULL)
-#if HAVE_SYS_TIME_H
+#if HAVE_SYS_TIME_H || defined(PHP_WIN32)
PHP_FE(socket_set_timeout, NULL)
#endif
/* {{{ proto bool socket_set_timeout(int socket_descriptor, int seconds, int microseconds)
Set timeout on socket read to seconds + microseonds */
+#if HAVE_SYS_TIME_H || defined(PHP_WIN32)
PHP_FUNCTION(socket_set_timeout)
{
-#if HAVE_SYS_TIME_H
zval **socket, **seconds, **microseconds;
int type;
void *what;
}
RETURN_FALSE;
-#endif /* HAVE_SYS_TIME_H */
}
-
+#endif /* HAVE_SYS_TIME_H || defined(PHP_WIN32) */
/* }}} */