On 01/31/2012 07:19 AM, Reuben Thomas wrote: > SIGPOLL seems to be unimplemented on Darwin
I don't offhand see an easy way to implement it in Gnulib, so perhaps it's better that Gnulib doesn't define it. (Sorry, I don't know the context.) > gnulib does not define _POSIX_C_SOURCE on Darwin, which is > necessary in order to get some POSIX features. This seems like an oversight. Would this fix things? diff --git a/m4/extensions.m4 b/m4/extensions.m4 index 0bfaef6..58280cf 100644 --- a/m4/extensions.m4 +++ b/m4/extensions.m4 @@ -75,6 +75,10 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif +/* Enable POSIX symbols on MacOS X. */ +#ifndef _POSIX_C_SOURCE +# undef _POSIX_C_SOURCE +#endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS