about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-04-19 14:24:29 -0700
committerEric Wong <normalperson@yhbt.net>2012-04-19 14:24:29 -0700
commitfc3062add1af8fadd4e9f7ef1de519db3654fa5b (patch)
treec43355dcbd329b061ea7a69c53321fb5260fc80d
parent697cee554860d185dd1208de7788ed342beb52dd (diff)
downloadcmogstored-fc3062add1af8fadd4e9f7ef1de519db3654fa5b.tar.gz
Not working, yet, but maybe it will one day
-rw-r--r--cmogstored.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h
index 469b76b..eac630b 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -9,6 +9,12 @@
  */
 #include "config.h"
 #include "queue_kqueue.h"
+
+/* assume libkqueue testers aren't interested in native epoll support */
+#if defined(LIBKQUEUE) && (LIBKQUEUE == 1) && defined(HAVE_EPOLL_WAIT)
+#  undef HAVE_EPOLL_WAIT
+#endif
+
 #ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE 700
 #endif