mirror of https://git.ffmpeg.org/ffmpeg.git
configure: define posix source on cygwin
Some function definitions are missing without it, for example sigaction. Fixes ticket #5868
This commit is contained in:
parent
4fdcd2f188
commit
b7bd5b9794
|
@ -4802,6 +4802,7 @@ case $target_os in
|
||||||
objformat="win32"
|
objformat="win32"
|
||||||
enable dos_paths
|
enable dos_paths
|
||||||
enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres
|
enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres
|
||||||
|
add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
|
||||||
;;
|
;;
|
||||||
*-dos|freedos|opendos)
|
*-dos|freedos|opendos)
|
||||||
network_extralibs="-lsocket"
|
network_extralibs="-lsocket"
|
||||||
|
|
Loading…
Reference in New Issue