Using poll instead of select by default.

This commit is contained in:
Diego Nehab 2004-11-27 08:47:09 +00:00
parent 7c97e8e40a
commit 50da56dbee
2 changed files with 11 additions and 1 deletions

View file

@ -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