mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-26 02:39:49 +02:00
Using poll instead of select by default.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user