1
0
forked from aniani/vim

patch 8.1.2353: build failure on FreeBSD

Problem:    Build failure on FreeBSD.
Solution:   Change #ifdef to only check for Linux-like systems.
This commit is contained in:
Bram Moolenaar
2019-11-28 20:09:58 +01:00
parent 424e98baab
commit 5708079a6b
2 changed files with 3 additions and 1 deletions

View File

@@ -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.