diff mbox

[FFmpeg-devel] configure: define _GNU_SOURCE on cygwin

Message ID 20160930113352.11256-1-timo@rothenpieler.org
State Superseded
Headers show

Commit Message

Timo Rothenpieler Sept. 30, 2016, 11:33 a.m. UTC
Some function definitions are missing without it,
for example sigaction.

Fixes ticket #5868
---
 configure | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/configure b/configure
index 899057d..0e2f459 100755
--- a/configure
+++ b/configure
@@ -4805,6 +4805,7 @@  case $target_os in
         objformat="win32"
         enable dos_paths
         enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres
+        add_cppflags -D_GNU_SOURCE
         ;;
     *-dos|freedos|opendos)
         network_extralibs="-lsocket"