On Sun, Sep 21, 2014 at 10:48:01PM +0200, Jörg Krause wrote:
> Some C libraries, eg glibc, uclibc, and musl, uses feature test macros 
> to expose definitions conforming to the standards ISO C, POSIX and 
> extensions. According to which feature test macros are defined by the 
> user or the compiler, a header file, eg <features.h>, used by these 
> libraries internally defines various other macros.
> 
> glibc and uclibc also defines release test macros, eg __GLIBC__ and
> __UCLIBC__ in <features.h>. musl does not have (and does not want) a 
> macro __MUSL__. Therefore it is not possible to check for the musl
> library.
> 
> However, building FFmpeg with musl needs the feature test macro
> _XOPEN_SOURCE=600 to be defined.
> 
> Signed-off-by: Jörg Krause <jkra...@posteo.de>
> ---
> Changes v2 -> v3:
>   - set _XOPEN_SOURCE as default in case no C library can be detected
> 
> Changes v1 -> v2:
>   - do not set _XOPEN_SOURCE twice for glibc and uclibc
> ---
>  configure | 3 +++
>  1 file changed, 3 insertions(+)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to