util-src/pposix.c
changeset 7792 93dd90309779
parent 7443 5424e24cdcb1
child 7821 54669df178c2
--- a/util-src/pposix.c	Thu Dec 15 07:03:52 2016 +0100
+++ b/util-src/pposix.c	Mon Dec 19 08:51:50 2016 +0100
@@ -49,9 +49,9 @@
 #define WITH_MALLINFO
 #endif
 
-#if defined(RFPROC) && defined(EV_SET)
+#if defined(__FreeBSD__) && defined(RFPROC)
 /*
- * On *BSD, calling fork() is equivalent to rfork(RFPROC | RFFDG).
+ * On FreeBSD, calling fork() is equivalent to rfork(RFPROC | RFFDG).
  *
  * RFFDG being set means that the file descriptor table is copied,
  * otherwise it's shared. We want the later, otherwise libevent gets