On Mon, Aug 22, 2011 at 11:34:41 (CEST), Luca Barbato wrote: > On 8/22/11 10:46 AM, Colin Watson wrote: > >> diff --git a/configure b/configure >> index 9c6ce0a..aba24c6 100755 >> --- a/configure >> +++ b/configure >> @@ -2464,7 +2464,7 @@ case $target_os in >> add_cppflags -U__STRICT_ANSI__ >> ;; >> linux) >> - add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 >> + add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 >> -D_BSD_SOURCE >> enable dv1394 >> ;; >> irix*) >> > > Doesn't look unreasonable, I wonder why nobody noticed it before. > > btw from features.h > > #if defined _BSD_SOURCE || defined _SVID_SOURCE > # define __USE_MISC 1 > #endif
Shouldn't BSD_SOURCE be added to other platforms, such as kfreebsd and hurd, as well then? They all use glibc after all. Cheers, -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
