diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-21 04:35:54 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-21 04:35:54 +0000 |
commit | c077e42241e3d5377a0e2cabae1cede852824d7c (patch) | |
tree | e1e7fb1325781a3071113b84a854b7939cd4c1aa /ext/Time | |
parent | 58f82c5ce8b2d8cb469c0b41ae0ab2e192854d6f (diff) | |
download | perl-c077e42241e3d5377a0e2cabae1cede852824d7c.tar.gz |
MPE/iX does not have nanosleep() (the test makes
a wrong conclusion of the linking succeeding)
p4raw-id: //depot/perl@20794
Diffstat (limited to 'ext/Time')
-rw-r--r-- | ext/Time/HiRes/Makefile.PL | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/Time/HiRes/Makefile.PL b/ext/Time/HiRes/Makefile.PL index f9b555055c..fc6a155224 100644 --- a/ext/Time/HiRes/Makefile.PL +++ b/ext/Time/HiRes/Makefile.PL @@ -338,7 +338,8 @@ EOD $has_nanosleep++; $DEFINE .= ' -DTIME_HIRES_NANOSLEEP'; } - } elsif (has_x ("nanosleep (NULL, NULL)")) { + } elsif ($^O ne 'mpeix' && # MPE/iX falsely finds nanosleep. + has_x ("nanosleep (NULL, NULL)")) { $has_nanosleep++; $DEFINE .= ' -DTIME_HIRES_NANOSLEEP'; } |