From: Bram Moolenaar Date: Thu, 28 Nov 2019 19:09:58 +0000 (+0100) Subject: patch 8.1.2353: build failure on FreeBSD X-Git-Tag: v8.1.2353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5708079a6b144e68bf85503bc3a7779d3a7cc2a6;p=vim patch 8.1.2353: build failure on FreeBSD Problem: Build failure on FreeBSD. Solution: Change #ifdef to only check for Linux-like systems. --- diff --git a/src/version.c b/src/version.c index 4c7c3808b..0e2f7faf2 100644 --- a/src/version.c +++ b/src/version.c @@ -737,6 +737,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2353, /**/ 2352, /**/ diff --git a/src/vim.h b/src/vim.h index 9b49ba1a9..b7f738798 100644 --- a/src/vim.h +++ b/src/vim.h @@ -36,7 +36,7 @@ Error: configure did not run properly. Check auto/config.log. # endif -# if defined(UNIX) && !defined(MACOS_X) +# if defined(__gnu_linux__) || defined(__CYGWIN__) // Needed for strptime(). Needs to be done early, since header files can // include other header files and end up including time.h, where these symbols // matter for Vim.