Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.0.1826: configure uses old compiler flag
Problem:    Configure uses old compiler flag.
Solution:   Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
  • Loading branch information
brammool committed May 12, 2018
1 parent dd1d7be commit 52ecaaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auto/configure
Expand Up @@ -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; }
Expand Down
2 changes: 1 addition & 1 deletion src/configure.ac
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1826,
/**/
1825,
/**/
Expand Down

0 comments on commit 52ecaaa

Please sign in to comment.