summaryrefslogtreecommitdiff
path: root/NetWare/nw5sck.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-22 15:15:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-22 15:15:22 +0000
commit011f1a1a00b94fe919083a224d5df636f05ae32a (patch)
treecd77ae1fdc3803f999aabf2d8c618c7a1a9a0a76 /NetWare/nw5sck.c
parente41d30bc98dce1dea5c4a5747bd838c25bdeda5d (diff)
downloadperl-011f1a1a00b94fe919083a224d5df636f05ae32a.tar.gz
NetWare changeover from Watcom to Codewarrior, from C Aditya.
p4raw-id: //depot/perl@16076
Diffstat (limited to 'NetWare/nw5sck.c')
-rw-r--r--NetWare/nw5sck.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/NetWare/nw5sck.c b/NetWare/nw5sck.c
index 91b8afd14b..46069a3ab2 100644
--- a/NetWare/nw5sck.c
+++ b/NetWare/nw5sck.c
@@ -185,25 +185,33 @@ nw_getservent(void)
void
nw_sethostent(int stayopen)
{
+#ifdef HAS_SETHOSTENT
sethostent(stayopen);
+#endif
}
void
nw_setnetent(int stayopen)
{
+#ifdef HAS_SETNETENT
setnetent(stayopen);
+#endif
}
void
nw_setprotoent(int stayopen)
{
+#ifdef HAS_SETPROTENT
setprotoent(stayopen);
+#endif
}
void
nw_setservent(int stayopen)
{
+#ifdef HAS_SETSERVENT
setservent(stayopen);
+#endif
}
int