This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9936f
)
Time-HiRes uses PERL compare macro
author
Nicolas R
<nicolas@atoomic.org>
Mon, 10 Aug 2020 22:26:05 +0000
(16:26 -0600)
committer
Nicolas R
<nicolas@atoomic.org>
Mon, 10 Aug 2020 22:26:05 +0000
(16:26 -0600)
dist/Time-HiRes/HiRes.xs
patch
|
blob
|
blame
|
history
diff --git
a/dist/Time-HiRes/HiRes.xs
b/dist/Time-HiRes/HiRes.xs
index
fbabd94
..
ca81e5a
100644
(file)
--- a/
dist/Time-HiRes/HiRes.xs
+++ b/
dist/Time-HiRes/HiRes.xs
@@
-901,7
+901,7
@@
nsec_without_unslept(struct timespec *sleepfor,
/* In case Perl and/or Devel::PPPort are too old, minimally emulate
* IS_SAFE_PATHNAME() (which looks for zero bytes in the pathname). */
#ifndef IS_SAFE_PATHNAME
-# if PERL_VERSION
>= 12
/* Perl_ck_warner is 5.10.0 -> */
+# if PERL_VERSION
_GE(5,12,0)
/* Perl_ck_warner is 5.10.0 -> */
# ifdef WARN_SYSCALLS
# define WARNEMUCAT WARN_SYSCALLS /* 5.22.0 -> */
# else