diff options
author | Bodo Möller <bodo@openssl.org> | 1999-06-07 00:20:54 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-06-07 00:20:54 +0000 |
commit | cf2562e772b0c28a3ea547f61f46d57eb6717a69 (patch) | |
tree | 056701f81ff03b22564b1201e2d45e7214183d2b | |
parent | 8e21c14607173ae5b0ea04c5a24b36514f6887f1 (diff) | |
download | openssl-cf2562e772b0c28a3ea547f61f46d57eb6717a69.tar.gz |
More general definition for S_ISDIR (needed not only for VMS but
also for NeXT).
-rw-r--r-- | apps/s_server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index e1588c5ee0..bcb9779d50 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -108,11 +108,11 @@ static DH *get_dh512(void); /* static void s_server_init(void);*/ #ifndef S_ISDIR -#if defined(VMS) && !defined(__DECC) -#define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) -#else -#define S_ISDIR(a) (((a) & _S_IFMT) == _S_IFDIR) -#endif +# if defined(_S_IFMT) && defined(_S_IFDIR) +# define S_ISDIR(a) (((a) & _S_IFMT) == _S_IFDIR) +# else +# define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) +# endif #endif #ifndef NO_DH |