summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-01-19 04:52:18 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-01-19 04:52:18 +0000
commit3028581bb6e49415e90ca9e7935ef77e075f56d6 (patch)
tree3148ee21a20fd6a2f6d71d3109fc2ae066463314 /pp.c
parent377729033bd4c3e2f6c0ac6b0d2bde9a83c5da6d (diff)
downloadperl-3028581bb6e49415e90ca9e7935ef77e075f56d6.tar.gz
[win32] foo() -> PerlGroup_foo() patch from ActiveState
p4raw-id: //depot/win32/perl@433
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pp.c b/pp.c
index 3afd65b04d..3f4b8bc1c4 100644
--- a/pp.c
+++ b/pp.c
@@ -3107,7 +3107,7 @@ PP(pp_unpack)
s += SIZE16;
#ifdef HAS_NTOHS
if (datumtype == 'n')
- aushort = ntohs(aushort);
+ aushort = PerlSock_ntohs(aushort);
#endif
#ifdef HAS_VTOHS
if (datumtype == 'v')
@@ -3125,7 +3125,7 @@ PP(pp_unpack)
sv = NEWSV(39, 0);
#ifdef HAS_NTOHS
if (datumtype == 'n')
- aushort = ntohs(aushort);
+ aushort = PerlSock_ntohs(aushort);
#endif
#ifdef HAS_VTOHS
if (datumtype == 'v')
@@ -3226,7 +3226,7 @@ PP(pp_unpack)
s += SIZE32;
#ifdef HAS_NTOHL
if (datumtype == 'N')
- aulong = ntohl(aulong);
+ aulong = PerlSock_ntohl(aulong);
#endif
#ifdef HAS_VTOHL
if (datumtype == 'V')
@@ -3246,7 +3246,7 @@ PP(pp_unpack)
s += SIZE32;
#ifdef HAS_NTOHL
if (datumtype == 'N')
- aulong = ntohl(aulong);
+ aulong = PerlSock_ntohl(aulong);
#endif
#ifdef HAS_VTOHL
if (datumtype == 'V')
@@ -3856,7 +3856,7 @@ PP(pp_pack)
fromstr = NEXTFROM;
ashort = (I16)SvIV(fromstr);
#ifdef HAS_HTONS
- ashort = htons(ashort);
+ ashort = PerlSock_htons(ashort);
#endif
CAT16(cat, &ashort);
}
@@ -3968,7 +3968,7 @@ PP(pp_pack)
fromstr = NEXTFROM;
aulong = SvUV(fromstr);
#ifdef HAS_HTONL
- aulong = htonl(aulong);
+ aulong = PerlSock_htonl(aulong);
#endif
CAT32(cat, &aulong);
}