mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-24 18:47:39 +00:00
Only use poll() when poll.h exists as well
This commit is contained in:
@@ -54,7 +54,7 @@ typedef struct {
|
|||||||
# ifdef HAVE_SYS_DEVPOLL_H
|
# ifdef HAVE_SYS_DEVPOLL_H
|
||||||
# define IO_USE_DEVPOLL 1
|
# define IO_USE_DEVPOLL 1
|
||||||
# else
|
# else
|
||||||
# ifdef HAVE_POLL
|
# if defined(HAVE_POLL) && defined(HAVE_POLL_H)
|
||||||
# define IO_USE_POLL 1
|
# define IO_USE_POLL 1
|
||||||
# else
|
# else
|
||||||
# ifdef HAVE_SELECT
|
# ifdef HAVE_SELECT
|
||||||
|
|||||||
Reference in New Issue
Block a user