1
0
forked from aniani/vim

patch 8.0.1826: configure uses old compiler flag

Problem:    Configure uses old compiler flag.
Solution:   Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
This commit is contained in:
Bram Moolenaar
2018-05-12 21:38:13 +02:00
parent dd1d7be4e6
commit 52ecaaa63d
3 changed files with 4 additions and 2 deletions

2
src/auto/configure vendored
View File

@@ -4556,7 +4556,7 @@ if test "`(uname) 2>/dev/null`" = Darwin; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
MACOS_X=yes 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 "$as_me:${as_lineno-$LINENO}: checking --disable-darwin argument" >&5
$as_echo_n "checking --disable-darwin argument... " >&6; } $as_echo_n "checking --disable-darwin argument... " >&6; }

View File

@@ -168,7 +168,7 @@ AC_MSG_CHECKING([for Darwin (Mac OS X)])
if test "`(uname) 2>/dev/null`" = Darwin; then if test "`(uname) 2>/dev/null`" = Darwin; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
MACOS_X=yes MACOS_X=yes
CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE -DMACOS_X" CPPFLAGS="$CPPFLAGS -DMACOS_X"
AC_MSG_CHECKING(--disable-darwin argument) AC_MSG_CHECKING(--disable-darwin argument)
AC_ARG_ENABLE(darwin, AC_ARG_ENABLE(darwin,

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1826,
/**/ /**/
1825, 1825,
/**/ /**/