mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
8fb599029f
commit
253f6f3bbf
@ -691,7 +691,7 @@ static const int included_patches[] = {
|
||||
41,
|
||||
40,
|
||||
// 39 NA
|
||||
// 38,
|
||||
38,
|
||||
37,
|
||||
// 36 NA
|
||||
35,
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user