зеркало из https://github.com/mozilla/pjs.git
no bug filed: gettimeofday needs to be quoted with 'use strict' in gettime.pl (r=bz on IRC)
This commit is contained in:
Родитель
2600e2d85e
Коммит
90424dd01d
|
@ -45,7 +45,7 @@ sub getTime () {
|
|||
|
||||
# ass-u-me if not mac/win32, then we're on a unix flavour
|
||||
else {
|
||||
eval "use Time::HiRes (gettimeofday);";
|
||||
eval "use Time::HiRes qw(gettimeofday);";
|
||||
$timesub = sub {
|
||||
my @t = gettimeofday();
|
||||
$t[0]*1000 + int($t[1]/1000);
|
||||
|
|
Загрузка…
Ссылка в новой задаче