diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-05-08 22:49:33 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-05-08 22:49:33 +0000 |
commit | 57ab3dfef762780a52fccd428b2a630bc33a48f4 (patch) | |
tree | 22d944da0465db82999d4d066201b8145bc1641c /pp.c | |
parent | dd15e2708920dbc7ca0967cd7bb3cf4d1bdabec2 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |