Garrett Rooney wrote:
> So what's the best way to get _POSIX_SOURCE defined for the wrapper
> directory? it's needed at least on FreeBSD. I could just add DEFS =
> -D_POSIX_SOURCE to the Makefile.am in that directory? but i'm not
> certain if it's necessary (hell, or if it even works) anywhere other
> than FreeBSD? How do I get this conditionally set?
IMO we need some autoconf magic here, which adds -D_POSIX_SOURCE to CFLAGS if
we compile on FreeBSD.
- Dietmar