diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-15 19:33:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-15 19:33:50 +0200 |
commit | ca291aec99b60fe81eaab36aa718e51421bb88d5 (patch) | |
tree | b0d0737ce7f7a4bd7de81c726f125d058cd0bd89 /src/vim.h | |
parent | 0a9046fbcb33770517ab0220b8100c4494bddab2 (diff) | |
download | vim-ca291aec99b60fe81eaab36aa718e51421bb88d5.zip |
patch 8.0.0038
Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland
files.
Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2495,7 +2495,8 @@ typedef enum #define FNE_INCL_BR 1 /* include [] in name */ #define FNE_CHECK_START 2 /* check name starts with valid character */ -#if (defined(sun) || defined(__FreeBSD__)) && defined(S_ISCHR) +#if (defined(sun) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) \ + && defined(S_ISCHR) # define OPEN_CHR_FILES #endif |