diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp index 4054766de..f2640b5ae 100644 --- a/src/threadengines/threadengine_pthread.cpp +++ b/src/threadengines/threadengine_pthread.cpp @@ -90,7 +90,7 @@ class ThreadSignalSocket : public BufferedSocket SocketThread::SocketThread() { - int fd = eventfd(0, O_NONBLOCK); + int fd = eventfd(0, EFD_NONBLOCK); if (fd < 0) throw new CoreException("Could not create pipe " + std::string(strerror(errno))); signal.sock = new ThreadSignalSocket(this, fd); |