Reenable select_read_timeout and select_write_timeout on windows

pull/1940/head
jsteube 5 years ago
parent 89d86130f1
commit f63762e597

@ -800,10 +800,6 @@ float get_entropy (const u8 *buf, const int len)
return entropy;
}
#if defined (_WIN)
#else
int select_read_timeout (int sockfd, const int sec)
{
struct timeval tv;
@ -834,8 +830,6 @@ int select_write_timeout (int sockfd, const int sec)
return select (sockfd + 1, NULL, &fds, NULL, &tv);
}
#endif
#if defined (_WIN)
int select_read_timeout_console (const int sec)

Loading…
Cancel
Save