comparison src/vim.h @ 18726:ee8cf665dc2e v8.1.2353

patch 8.1.2353: build failure on FreeBSD Commit: https://github.com/vim/vim/commit/5708079a6b144e68bf85503bc3a7779d3a7cc2a6 Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Nov 2019 20:15:04 +0100
parents cfe589c1b300
children 49b78d6465e5
comparison
equal deleted inserted replaced
18725:1841ac10a17e 18726:ee8cf665dc2e
34 */ 34 */
35 # if (VIM_SIZEOF_INT == 0) 35 # if (VIM_SIZEOF_INT == 0)
36 Error: configure did not run properly. Check auto/config.log. 36 Error: configure did not run properly. Check auto/config.log.
37 # endif 37 # endif
38 38
39 # if defined(UNIX) && !defined(MACOS_X) 39 # if defined(__gnu_linux__) || defined(__CYGWIN__)
40 // Needed for strptime(). Needs to be done early, since header files can 40 // Needed for strptime(). Needs to be done early, since header files can
41 // include other header files and end up including time.h, where these symbols 41 // include other header files and end up including time.h, where these symbols
42 // matter for Vim. 42 // matter for Vim.
43 // 700 is needed for mkdtemp(). 43 // 700 is needed for mkdtemp().
44 # ifndef _XOPEN_SOURCE 44 # ifndef _XOPEN_SOURCE