Permalink
Browse files

patch 8.0.1357: startup test fails on OpenBSD

Problem:    Startup test fails on OpenBSD. (Edd Barrett)
Solution:   Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
            closes #2376, closes #2378)
  • Loading branch information...
brammool committed Nov 28, 2017
1 parent c5aa55d commit 1a2ab991a6d168699fbcc934b63cfc3579c3d34d
Showing with 4 additions and 1 deletion.
  1. +2 −0 src/version.c
  2. +2 −1 src/vim.h
View
@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1357,
/**/
1356,
/**/
View
@@ -2485,7 +2485,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_SYSTEM) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) \
/* BSD is supposed to cover FreeBSD and similar systems. */
#if (defined(SUN_SYSTEM) || defined(BSD) || defined(__FreeBSD_kernel__)) \
&& defined(S_ISCHR)
# define OPEN_CHR_FILES
#endif

0 comments on commit 1a2ab99

Please sign in to comment.