[libdispatch-dev] [PATCH] testing/dispatch_test.c
schwalbe at inf.tu-dresden.de
Tue Nov 17 05:31:00 PST 2009
Robert Watson schrieb:
> On Mon, 16 Nov 2009, Mario Schwalbe wrote:
>> to get a prototype for apsintf in order to compile
>> testing/dispatch_test.c on Linux.
> While I've never used it, configure appears to have a macro,
> AC_USE_SYSTEM_EXTENSIONS, one of which is _GNU_SOURCE. Could you
> investigate using this, or some similar configure-time decision about
> defining _GNU_SOURCE and possibly extra includes like libio.h.
You're right. AC_USE_SYSTEM_EXTENSIONS seems to work as well.
--- configure.ac (Revision 166)
+++ configure.ac (Arbeitskopie)
@@ -110,6 +110,7 @@
[Define to use non-portablesemaphore optimizations for Mac OS X])]
More information about the libdispatch-dev