Mercurial > vim
diff src/os_unix.h @ 1313:dbd226be80b1 v7.1.027
updated for version 7.1-027
author | vimboss |
---|---|
date | Tue, 10 Jul 2007 15:10:54 +0000 |
parents | a3c21128b246 |
children | c669f3280f59 |
line wrap: on
line diff
--- a/src/os_unix.h +++ b/src/os_unix.h @@ -508,6 +508,9 @@ int mch_rename __ARGS((const char *src, #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. */