Revision
34
Author
robert@fledge.watson.org
Date
2009-09-15 15:10:39 -0700 (Tue, 15 Sep 2009)

Log Message

Don't conditionally compile use of NOTE_TRIGGER -- it really is required,
so simply not referencing it if it's not defined doesn't make life better.
Instead, fail to compile.

Modified Paths

Diff

Modified: trunk/src/queue.c (33 => 34)


--- trunk/src/queue.c	2009-09-15 22:08:17 UTC (rev 33)
+++ trunk/src/queue.c	2009-09-15 22:10:39 UTC (rev 34)
@@ -1982,9 +1982,7 @@
 	static const struct kevent kev = {
 		.ident = 1,
 		.filter = EVFILT_USER,
-#ifdef NOTE_TRIGGER
 		.fflags = NOTE_TRIGGER,
-#endif
 	};
 
 	_dispatch_debug("waking up the _dispatch_mgr_q: %p", dq);