aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/rc4.h
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-09-21 22:48:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-22 00:34:56 +0200
commit56b8d106769c5c5f9174dcc426f1ee2f991428b1 (patch)
tree109ee633e859981dca04584f2e625818ac211a6a /libavutil/rc4.h
parenteb7a6d0813ffa2720dafa5cf55eba4d51ba52636 (diff)
downloadffmpeg-56b8d106769c5c5f9174dcc426f1ee2f991428b1.tar.gz
configure: Refactor setting of feature test macro _XOPEN_SOURCE
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 <jkrause@posteo.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/rc4.h')
0 files changed, 0 insertions, 0 deletions