Browse Source

Fix last commit

pull/1689/head
falkTX 2 years ago
parent
commit
b34ae7dae5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/backend/plugin/CarlaPluginCLAP.cpp

+ 2
- 1
source/backend/plugin/CarlaPluginCLAP.cpp View File

@@ -2674,8 +2674,9 @@ protected:
#ifdef CARLA_CLAP_POSIX_KQUEUE
const int hostFd = ::kqueue();
#else
CARLA_SAFE_ASSERT_RETURN(hostFd >= 0, false);
const int hostFd = ::epoll_create1(0);
#endif
CARLA_SAFE_ASSERT_RETURN(hostFd >= 0, false);

#ifndef CARLA_CLAP_POSIX_KQUEUE
struct epoll_event ev = {};


Loading…
Cancel
Save