diff src/auto/configure @ 13910:9ae15cd46d84 v8.0.1826

patch 8.0.1826: configure uses old compiler flag commit https://github.com/vim/vim/commit/52ecaaa63d8d4c6d2ae9072e944a45d8d4e2ac76 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 12 21:38:13 2018 +0200 patch 8.0.1826: configure uses old compiler flag Problem: Configure uses old compiler flag. Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sat, 12 May 2018 21:45:06 +0200
parents 603516b73349
children e4d5726e1678
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4556,7 +4556,7 @@ if test "`(uname) 2>/dev/null`" = Darwin
   { $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; }