Also request Darwin extensions, as they are needed for stuff like NSIG.
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 17 Jul 2009 18:41:58 +0000 (20:41 +0200)
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 17 Jul 2009 18:41:58 +0000 (20:41 +0200)
Without this definition, non-POSIX interfaces (which are needed) are hidden
by the _POSIX_C_SOURCE request (for clock_gettime).

configure.ac

index 9b49f23..1800735 100644 (file)
@@ -76,6 +76,7 @@ case $host in
       ;;
    *-*-darwin* )
       AC_DEFINE([_POSIX_C_SOURCE], [200112L], [Needed to get clock_gettime on Mac OS X])
+      AC_DEFINE([_DARWIN_C_SOURCE], [200112L], [Needed to get NSIG on Mac OS X])
       ;;
 esac