aboutsummaryrefslogtreecommitdiff
path: root/src/event.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-12-05 01:48:44 -0500
committerDeterminant <[email protected]>2019-12-05 01:48:44 -0500
commit6225a46eb219fd63b3a11c1805d08c217188e94d (patch)
tree94f5d7b084220a9706999ea6b48713aaaf16e690 /src/event.cpp
parent4fd25c23a5b2bd3ccedfe756c6f05d0bd9d3e0ca (diff)
WIP: OSX(macOS) support
Diffstat (limited to 'src/event.cpp')
-rw-r--r--src/event.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event.cpp b/src/event.cpp
index 18aca18..16a3c41 100644
--- a/src/event.cpp
+++ b/src/event.cpp
@@ -2,6 +2,10 @@
#ifdef SALTICIDAE_CBINDINGS
#include "salticidae/event.h"
+#if defined(__linux__)
+const uint64_t salticidae::NotifyFd::dummy = 1;
+#endif
+
extern "C" {
eventcontext_t *eventcontext_new() { return new eventcontext_t(); }