[libdispatch-changes] [34] trunk/src/queue.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 15 15:10:39 PDT 2009


Revision: 34
          http://trac.macosforge.org/projects/libdispatch/changeset/34
Author:   robert at 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:
--------------
    trunk/src/queue.c

Modified: trunk/src/queue.c
===================================================================
--- 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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20090915/1677a87c/attachment.html>


More information about the libdispatch-changes mailing list