mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
bfe1d3d03d
commit
18db6caeda
10
ev.c
10
ev.c
|
@ -49,7 +49,7 @@ extern "C" {
|
|||
# define EV_USE_SELECT 1
|
||||
# endif
|
||||
|
||||
# if HAVE_POLL && HAVE_POLL_H && !defined (EV_USE_POLL) && !defined (__APPLE__)
|
||||
# if HAVE_POLL && HAVE_POLL_H && !defined (EV_USE_POLL)
|
||||
# define EV_USE_POLL 1
|
||||
# endif
|
||||
|
||||
|
@ -57,7 +57,7 @@ extern "C" {
|
|||
# define EV_USE_EPOLL 1
|
||||
# endif
|
||||
|
||||
# if HAVE_KQUEUE && HAVE_SYS_EVENT_H && HAVE_SYS_QUEUE_H && !defined (EV_USE_KQUEUE) && !defined (__APPLE__)
|
||||
# if HAVE_KQUEUE && HAVE_SYS_EVENT_H && HAVE_SYS_QUEUE_H && !defined (EV_USE_KQUEUE)
|
||||
# define EV_USE_KQUEUE 1
|
||||
# endif
|
||||
|
||||
|
@ -122,6 +122,12 @@ extern "C" {
|
|||
|
||||
/**/
|
||||
|
||||
/* darwin simply cnanot be helped */
|
||||
#ifdef __APPLE__
|
||||
# undef EV_USE_POLL
|
||||
# undef EV_USE_KQUEUE
|
||||
#endif
|
||||
|
||||
#ifndef CLOCK_MONOTONIC
|
||||
# undef EV_USE_MONOTONIC
|
||||
# define EV_USE_MONOTONIC 0
|
||||
|
|
Loading…
Reference in New Issue