vim-patch:8.0.0038 (#7051)

Problem:    OPEN_CHR_FILES not defined for FreeBSD using Debian userland
            files.
Solution:   Check for __FreeBSD_kernel__. (James McCoy, closes vim/vim#1166)

ca291aec99
This commit is contained in:
KunMing Xie 2017-07-23 01:04:45 +08:00 committed by Justin M. Keyes
parent 8fb599029f
commit 253f6f3bbf
2 changed files with 2 additions and 2 deletions

View File

@ -691,7 +691,7 @@ static const int included_patches[] = {
41,
40,
// 39 NA
// 38,
38,
37,
// 36 NA
35,

View File

@ -319,7 +319,7 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext()
// Lowest number used for window ID. Cannot have this many windows per tab.
#define LOWEST_WIN_ID 1000
#if defined(__FreeBSD__) && defined(S_ISCHR)
#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && defined(S_ISCHR)
# define OPEN_CHR_FILES
#endif