comparison 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
comparison
equal deleted inserted replaced
1312:b4b1b5324380 1313:dbd226be80b1
506 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) 506 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
507 #endif 507 #endif
508 #if !defined(S_ISFIFO) && defined(S_IFIFO) 508 #if !defined(S_ISFIFO) && defined(S_IFIFO)
509 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 509 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
510 #endif 510 #endif
511 #if !defined(S_ISCHR) && defined(S_IFCHR)
512 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
513 #endif
511 514
512 /* Note: Some systems need both string.h and strings.h (Savage). However, 515 /* Note: Some systems need both string.h and strings.h (Savage). However,
513 * some systems can't handle both, only use string.h in that case. */ 516 * some systems can't handle both, only use string.h in that case. */
514 #ifdef HAVE_STRING_H 517 #ifdef HAVE_STRING_H
515 # include <string.h> 518 # include <string.h>