From: Bram Moolenaar Date: Sat, 12 May 2018 19:38:13 +0000 (+0200) Subject: patch 8.0.1826: configure uses old compiler flag X-Git-Tag: v8.0.1826 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52ecaaa63d8d4c6d2ae9072e944a45d8d4e2ac76;p=vim patch 8.0.1826: configure uses old compiler flag Problem: Configure uses old compiler flag. Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama) --- diff --git a/src/auto/configure b/src/auto/configure index c1d477ca1..e65884c80 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -4556,7 +4556,7 @@ if test "`(uname) 2>/dev/null`" = Darwin; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } MACOS_X=yes - CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE -DMACOS_X" + CPPFLAGS="$CPPFLAGS -DMACOS_X" { $as_echo "$as_me:${as_lineno-$LINENO}: checking --disable-darwin argument" >&5 $as_echo_n "checking --disable-darwin argument... " >&6; } diff --git a/src/configure.ac b/src/configure.ac index 7f5528183..cfc3b1be1 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -168,7 +168,7 @@ AC_MSG_CHECKING([for Darwin (Mac OS X)]) if test "`(uname) 2>/dev/null`" = Darwin; then AC_MSG_RESULT(yes) MACOS_X=yes - CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE -DMACOS_X" + CPPFLAGS="$CPPFLAGS -DMACOS_X" AC_MSG_CHECKING(--disable-darwin argument) AC_ARG_ENABLE(darwin, diff --git a/src/version.c b/src/version.c index 97432839d..0348dc13e 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1826, /**/ 1825, /**/