[PATCH] configure: define _GNU_SOURCE on cygwin
Some function definitions are missing without it, for example sigaction. Fixes ticket #5868 --- configure | 1 + 1 file changed, 1 insertion(+) 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" -- 2.8.3
Some function definitions are missing without it, for example sigaction. Fixes ticket #5868 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 74db9b5..ff2cb62 100755 --- a/configure +++ b/configure @@ -4806,6 +4806,7 @@ case $target_os in objformat="win32" enable dos_paths 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) network_extralibs="-lsocket" -- 2.8.3
Will push tomorrow if nobody objects.
On 01/10/2016 20:41, Timo Rothenpieler wrote:
Will push tomorrow if nobody objects.
LGTM, maybe add a note which says that it may have been a cygwin update which broke the build. -- Josh
applied
participants (2)
-
Josh de Kock -
Timo Rothenpieler