Upgrade to Time::HiRes 1.61
[p5sagit/p5-mst-13.2.git] / ext / Time / HiRes / hints / solaris.pl
CommitLineData
4ed0e2d4 1use POSIX qw(uname);
2# 2.6 has nanosleep in -lposix4, after that it's in -lrt
3if (substr((uname())[2], 2) <= 6) {
4 $self->{LIBS} = ['-lposix4'];
5} else {
6 $self->{LIBS} = ['-lrt'];
7}
8
0225372c 9