[FFmpeg-devel] [PATCH] configure: add check_feature_test_macro for exp10, exp10f
george at nsup.org
Thu Dec 24 18:55:09 CET 2015
Le quartidi 4 nivôse, an CCXXIV, Ganesh Ajjanagadde a écrit :
> exp10 and exp10f need _GNU_SOURCE. check_mathfunc only tests if the
> function is available, and not whether it is locked or unlocked via
> This adds some support to configure to test for _GNU_SOURCE and
> accordingly report the existence of exp10, exp10f.
I do not think this is a good solution. IMHO, the correct way would be to
detect if the function has a prototype. It could probably be done by trying
to cast it to int: if it is not declared, it will fail.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel