projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Upgrade to Time-HiRes-1.82
[p5sagit/p5-mst-13.2.git]
/
ext
/
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