diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-12 21:38:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-12 21:38:13 +0200 |
commit | 52ecaaa63d8d4c6d2ae9072e944a45d8d4e2ac76 (patch) | |
tree | 4d7ae7e616c6036ea0efcc56aedfe84ce47d424d | |
parent | dd1d7be4e6691f447667a8217844a3b2561203be (diff) | |
download | vim-git-52ecaaa63d8d4c6d2ae9072e944a45d8d4e2ac76.tar.gz |
patch 8.0.1826: configure uses old compiler flagv8.0.1826
Problem: Configure uses old compiler flag.
Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
-rwxr-xr-x | src/auto/configure | 2 | ||||
-rw-r--r-- | src/configure.ac | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 4 insertions, 2 deletions
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 @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1826, +/**/ 1825, /**/ 1824, |