diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-28 20:09:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-28 20:09:58 +0100 |
commit | 5708079a6b144e68bf85503bc3a7779d3a7cc2a6 (patch) | |
tree | 650bbfa75b36ca6a17ee9ccc9783bae7684a872b | |
parent | 424e98baab3bf05d7946f99ddfa180ae71570650 (diff) | |
download | vim-git-5708079a6b144e68bf85503bc3a7779d3a7cc2a6.tar.gz |
patch 8.1.2353: build failure on FreeBSDv8.1.2353
Problem: Build failure on FreeBSD.
Solution: Change #ifdef to only check for Linux-like systems.
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c index 4c7c3808b..0e2f7faf2 100644 --- 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, +/**/ 2352, /**/ 2351, @@ -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. |