Using poll instead of select by default.
This commit is contained in:
parent
7c97e8e40a
commit
50da56dbee
2 changed files with 11 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
/*-------------------------------------------------------------------------*\
|
||||
* Wait for readable/writable/connected socket with timeout
|
||||
\*-------------------------------------------------------------------------*/
|
||||
#ifdef SOCK_POLL
|
||||
#ifndef SOCK_SELECT
|
||||
#include <sys/poll.h>
|
||||
|
||||
#define WAITFD_R POLLIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue