Re: [libav-devel] [PATCH] configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.

2011-05-12 Thread Diego Biurrun
On Thu, May 12, 2011 at 11:01:05AM +0200, Diego Biurrun wrote: > [...] Pushed after testing on glibc, FreeBSD and OS X. FATE will catch remaining issues. Experience tell me that there likely will be some... Diego ___ libav-devel mailing list libav-dev

Re: [libav-devel] [PATCH] configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.

2011-05-12 Thread Måns Rullgård
Diego Biurrun writes: > Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems > since it causes certain system functions to be hidden on some (BSD) systems. > The solution is to only add the flag on systems that really require it, i.e. > glibc-based ones. > > This change make

[libav-devel] [PATCH] configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.

2011-05-12 Thread Diego Biurrun
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-bo