This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
move Time-HiRes from cpan to dist
[perl5.git] / dist / Time-HiRes / hints / solaris.pl
1 # 2.6 has nanosleep in -lposix4, after that it's in -lrt
2 my $r = `/usr/bin/uname -r`;
3 chomp($r);
4 if (substr($r, 2) <= 6) {
5     $self->{LIBS} = ['-lposix4'];
6 } else {
7     $self->{LIBS} = ['-lrt'];
8 }
9
10