summaryrefslogtreecommitdiffstats
path: root/src/ev_cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ev_cpp.h')
-rw-r--r--src/ev_cpp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ev_cpp.h b/src/ev_cpp.h
new file mode 100644
index 0000000..80dd9b2
--- /dev/null
+++ b/src/ev_cpp.h
@@ -0,0 +1,22 @@
+#define EV_COMPAT3 0
+#define EV_USE_SELECT 1
+#define EV_USE_EPOLL 1
+#define EV_USE_KQUEUE 1
+#define EV_USE_PORT 1
+#define EV_PREPARE_ENABLE 1
+#define EV_IDLE_ENABLE 1
+#define EV_SIGNAL_ENABLE 1
+#define EV_CHILD_ENABLE 1
+#define EV_USE_STDEXCEPT 0
+#define EV_CONFIG_H <config.h>
+
+#include <config.h>
+
+#if ENABLE_FRILLS
+# define EV_FEATURES 1+2
+#else
+# define EV_FEATURES 0
+# define NDEBUG
+#endif
+
+#include "ev++.h"