|
@@ -2674,8 +2674,9 @@ protected: |
|
|
#ifdef CARLA_CLAP_POSIX_KQUEUE |
|
|
#ifdef CARLA_CLAP_POSIX_KQUEUE |
|
|
const int hostFd = ::kqueue(); |
|
|
const int hostFd = ::kqueue(); |
|
|
#else |
|
|
#else |
|
|
CARLA_SAFE_ASSERT_RETURN(hostFd >= 0, false); |
|
|
|
|
|
|
|
|
const int hostFd = ::epoll_create1(0); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
CARLA_SAFE_ASSERT_RETURN(hostFd >= 0, false); |
|
|
|
|
|
|
|
|
#ifndef CARLA_CLAP_POSIX_KQUEUE |
|
|
#ifndef CARLA_CLAP_POSIX_KQUEUE |
|
|
struct epoll_event ev = {}; |
|
|
struct epoll_event ev = {}; |
|
|