diff options
| author | 2020-10-19 23:59:32 +0100 | |
|---|---|---|
| committer | 2020-10-20 00:17:54 +0100 | |
| commit | 03f32a45c7726d59927dee1395a9d22f8bafbb63 (patch) | |
| tree | 9c75e1e5a6bbbab71a1cbae9558ce18e0bffae56 /src/threadsocket.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Replace the check for eventfd() with a C++17 header check.
Diffstat (limited to 'src/threadsocket.cpp')
| -rw-r--r-- | src/threadsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadsocket.cpp b/src/threadsocket.cpp index 901fbad03..f9291a2d4 100644 --- a/src/threadsocket.cpp +++ b/src/threadsocket.cpp @@ -22,7 +22,7 @@ #include "inspircd.h" -#ifdef HAS_EVENTFD +#if __has_include(<sys/eventfd.h>) #include <sys/eventfd.h> class ThreadSignalSocket : public EventHandler |
