uxp/v lacks _S_IFMT, but has S_IFMT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11193 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -124,6 +124,10 @@ free_fileinfo(struct fileinfo *f)
|
||||
#define S_ISTXT S_ISVTX
|
||||
#endif
|
||||
|
||||
#if !defined(_S_IFMT) && defined(S_IFMT)
|
||||
#define _S_IFMT S_IFMT
|
||||
#endif
|
||||
|
||||
#ifndef S_ISSOCK
|
||||
#define S_ISSOCK(mode) (((mode) & _S_IFMT) == S_IFSOCK)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user