Permalink
Browse files

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)
  • Loading branch information...
1 parent 0a9046f commit ca291aec99b60fe81eaab36aa718e51421bb88d5 @brammool brammool committed Oct 15, 2016
Showing with 4 additions and 1 deletion.
  1. +2 −0 src/version.c
  2. +2 −1 src/vim.h
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 38,
+/**/
37,
/**/
36,
View
@@ -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

0 comments on commit ca291ae

Please sign in to comment.