summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-28 20:09:58 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-28 20:09:58 +0100
commit5708079a6b144e68bf85503bc3a7779d3a7cc2a6 (patch)
tree650bbfa75b36ca6a17ee9ccc9783bae7684a872b
parent424e98baab3bf05d7946f99ddfa180ae71570650 (diff)
downloadvim-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.c2
-rw-r--r--src/vim.h2
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,
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.