aboutsummaryrefslogtreecommitdiff
path: root/libev/mylite.h
diff options
context:
space:
mode:
Diffstat (limited to 'libev/mylite.h')
-rw-r--r--libev/mylite.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libev/mylite.h b/libev/mylite.h
new file mode 100644
index 0000000..b66d624
--- /dev/null
+++ b/libev/mylite.h
@@ -0,0 +1,23 @@
+#ifndef MY_LITE_H
+#define MY_LITE_H
+
+/* libev-4.31 */
+#define EV_STANDALONE 1 /* manual configuration */
+#define EV_COMPAT3 0 /* remove compatible code */
+#define EV_VERIFY 0 /* remove verification code */
+#define EV_USE_FLOOR 1 /* use libm.floor() function */
+#define EV_NO_SMP 1 /* disable multi-threads support */
+#define EV_NO_THREADS 1 /* disable multi-threads support */
+#define EV_PERIODIC_ENABLE 0 /* disable ev_periodic watcher */
+#define EV_SIGNAL_ENABLE 0 /* disable ev_signal watcher */
+#define EV_CHILD_ENABLE 0 /* disable ev_child watcher */
+#define EV_STAT_ENABLE 0 /* disable ev_stat watcher */
+#define EV_IDLE_ENABLE 0 /* disable ev_idle watcher */
+#define EV_PREPARE_ENABLE 0 /* disable ev_prepare watcher */
+#define EV_CHECK_ENABLE 0 /* disable ev_check watcher */
+#define EV_EMBED_ENABLE 0 /* disable ev_embed watcher */
+#define EV_FORK_ENABLE 0 /* disable ev_fork watcher */
+#define EV_CLEANUP_ENABLE 0 /* disable ev_cleanup watcher */
+#define EV_ASYNC_ENABLE 0 /* disbale ev_async watcher */
+
+#endif