projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e21c14
)
More general definition for S_ISDIR (needed not only for VMS but
author
Bodo Möller
<bodo@openssl.org>
Mon, 7 Jun 1999 00:20:54 +0000
(
00:20
+0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 7 Jun 1999 00:20:54 +0000
(
00:20
+0000)
also for NeXT).
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index e1588c5ee00cf5e690b2cd11873ce5e75dc19938..bcb9779d504c6522a0abaf054d2e9890454a8181 100644
(file)
--- 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