]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Compile less libev code 623/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 28 Mar 2017 18:12:48 +0000 (14:12 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 29 Mar 2017 15:37:48 +0000 (11:37 -0400)
In verto-k5ev.c, turn off optional watchers in ev.c, and enable the
specific watcher types we use.

src/util/verto/verto-k5ev.c

index 74fa368a83b389901fedea4d1da5c880a328a6d1..713c4f24253a84f9b708ecc6250d26255db4bf79 100644 (file)
 /* Avoid using clock_gettime, which would create a dependency on librt. */
 #define EV_USE_MONOTONIC 0
 #define EV_USE_REALTIME 0
-#define EV_FEATURES 0x5f        /* Everything but back ends */
+#define EV_FEATURES 0x4f        /* No back ends or optional watchers */
+/* Enable the optional watcher types we use. */
+#define EV_IDLE_ENABLE 1
+#define EV_SIGNAL_ENABLE 1
+#define EV_CHILD_ENABLE 1
+/* Enable the back ends we want. */
 #ifdef HAVE_POLL_H
 #define EV_USE_POLL 1
 #endif