summaryrefslogtreecommitdiff
path: root/src/os_unix.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-07-10 15:10:54 +0000
committerBram Moolenaar <Bram@vim.org>2007-07-10 15:10:54 +0000
commitfe1c56d6ae98b5a549475ac7b1ec34c6aec250fd (patch)
tree252e10283a3b75154d1780da2e1e3dddc81dbfea /src/os_unix.h
parent78f6f7eb95b6de145d9c386694322701a17ca169 (diff)
downloadvim-git-fe1c56d6ae98b5a549475ac7b1ec34c6aec250fd.tar.gz
updated for version 7.1-027v7.1.027
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index d99d1c8d3..be6048fa5 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -508,6 +508,9 @@ int mch_rename __ARGS((const char *src, const char *dest));
#if !defined(S_ISFIFO) && defined(S_IFIFO)
# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
#endif
+#if !defined(S_ISCHR) && defined(S_IFCHR)
+# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
+#endif
/* Note: Some systems need both string.h and strings.h (Savage). However,
* some systems can't handle both, only use string.h in that case. */