p4raw-id: //depot/perl@22159
Revision history for Perl extension Time::HiRes.
+1.55
+ - Windows: ming32 patch from Mike Pomraning (use Perl's Const64()
+ instead of VC-specific i64 suffix)
+
1.54
- Solaris: like Tru64 (dec_osf) also Solaris need -lrt for nanosleep
d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer
d_nanosleep);
-$VERSION = '1.54';
+$VERSION = '1.55';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
QueryPerformanceCounter((LARGE_INTEGER*)&ticks);
ticks -= MY_CXT.base_ticks;
ft.ft_i64 = MY_CXT.base_systime_as_filetime.ft_i64
- + 10000000i64 * (ticks / MY_CXT.tick_frequency)
- +(10000000i64 * (ticks % MY_CXT.tick_frequency)) / MY_CXT.tick_frequency;
+ + Const64(10000000) * (ticks / MY_CXT.tick_frequency)
+ +(Const64(10000000) * (ticks % MY_CXT.tick_frequency)) / MY_CXT.tick_frequency;
}
else {
QueryPerformanceFrequency((LARGE_INTEGER*)&MY_CXT.tick_frequency);