summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-05-08 22:49:33 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-05-08 22:49:33 +0000
commit57ab3dfef762780a52fccd428b2a630bc33a48f4 (patch)
tree22d944da0465db82999d4d066201b8145bc1641c /pp.c
parentdd15e2708920dbc7ca0967cd7bb3cf4d1bdabec2 (diff)
downloadperl-57ab3dfef762780a52fccd428b2a630bc33a48f4.tar.gz
make the gettimeofday() implementation in Time::HiRes available
from perl p4raw-id: //depot/perl@16503
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index a2433d9b17..9af36f06c7 100644
--- a/pp.c
+++ b/pp.c
@@ -2680,7 +2680,7 @@ S_seed(pTHX)
u = (U32)SEED_C1 * when[0] + (U32)SEED_C2 * when[1];
#else
# ifdef HAS_GETTIMEOFDAY
- gettimeofday(&when,(struct timezone *) 0);
+ PerlProc_gettimeofday(&when,NULL);
u = (U32)SEED_C1 * when.tv_sec + (U32)SEED_C2 * when.tv_usec;
# else
(void)time(&when);