提交 cf2562e7 编写于 作者: B Bodo Möller

More general definition for S_ISDIR (needed not only for VMS but

also for NeXT).
上级 8e21c146
...@@ -108,11 +108,11 @@ static DH *get_dh512(void); ...@@ -108,11 +108,11 @@ static DH *get_dh512(void);
/* static void s_server_init(void);*/ /* static void s_server_init(void);*/
#ifndef S_ISDIR #ifndef S_ISDIR
#if defined(VMS) && !defined(__DECC) # if defined(_S_IFMT) && defined(_S_IFDIR)
#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) # define S_ISDIR(a) (((a) & _S_IFMT) == _S_IFDIR)
#else # else
#define S_ISDIR(a) (((a) & _S_IFMT) == _S_IFDIR) # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
#endif # endif
#endif #endif
#ifndef NO_DH #ifndef NO_DH
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册