# HG changeset patch # User Bram Moolenaar # Date 1574968504 -3600 # Node ID ee8cf665dc2e19c40185c2bc8a8ca567e9e7b795 # Parent 1841ac10a17e9313775cdc61cd03c0fd667313dc patch 8.1.2353: build failure on FreeBSD Commit: https://github.com/vim/vim/commit/5708079a6b144e68bf85503bc3a7779d3a7cc2a6 Author: Bram Moolenaar Date: Thu Nov 28 20:09:58 2019 +0100 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 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2353, +/**/ 2351, /**/ 2350, diff --git a/src/vim.h b/src/vim.h --- 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.