[libav-devel] [PATCH 1/2] configure: Try adding -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well

Luca Barbato lu_zero at gentoo.org
Wed Apr 10 17:13:31 CEST 2019


On 10/04/2019 10:48, Martin Storsjö wrote:
> Mingw headers have got header inline implementations of localtime_r
> and gmtime_r, but only visible if certain posix thread safe functions
> have been requested.
> 
> This is a preparatory step for improving the detection of those
> functions.
> ---
> An alternative fix is also provided in a different patch series,
> by adjusting libavutil/time_internal.h.
> ---
>   configure | 2 ++
>   1 file changed, 2 insertions(+)
> 

Seems fine to me.



More information about the libav-devel mailing list