aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-11-28 19:47:44 -0500
committerGitHub <noreply@github.com>2017-11-28 19:47:44 -0500
commit27a4fc436f281debf17812ff0f975f7a1a6f43d3 (patch)
treeeb74fe56bd4e88aeb5cf4c071941fd0dfefbde0f /src/nvim/vim.h
parent122dbc86ab1535524af89cff0c9cbc78b64a804e (diff)
parent8f91f2c9b47e6705e29da2fdbc9519092c757ba5 (diff)
downloadrneovim-27a4fc436f281debf17812ff0f975f7a1a6f43d3.tar.gz
rneovim-27a4fc436f281debf17812ff0f975f7a1a6f43d3.tar.bz2
rneovim-27a4fc436f281debf17812ff0f975f7a1a6f43d3.zip
Merge pull request #7639 from jamessan/openbsd-chr
Add OpenBSD as an expected OS for opening char devices
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 1db1a073ed..7da3c8246f 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -314,7 +314,8 @@ 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(__FreeBSD_kernel__)) && defined(S_ISCHR)
+// BSD is supposed to cover FreeBSD and similar systems.
+#if (defined(BSD) || defined(__FreeBSD_kernel__)) && defined(S_ISCHR)
# define OPEN_CHR_FILES
#endif