diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-01-13 13:03:07 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2016-02-13 11:39:10 -0500 |
commit | 105140f6b86f728e0c23b1172a00b466ce2fd099 (patch) | |
tree | 126f57836ad492a53f53b168e3ce75f09444189e /dist | |
parent | 6a6012c38163e5a2c8a26a86fadf13f594968fea (diff) | |
download | perl-105140f6b86f728e0c23b1172a00b466ce2fd099.tar.gz |
Add Linux-specific clock_gettime() constants.
http://man7.org/linux/man-pages/man2/clock_gettime.2.html
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Time-HiRes/Makefile.PL | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/Time-HiRes/Makefile.PL b/dist/Time-HiRes/Makefile.PL index f6fdee64c4..1c29b70366 100644 --- a/dist/Time-HiRes/Makefile.PL +++ b/dist/Time-HiRes/Makefile.PL @@ -820,10 +820,14 @@ sub doConstants { if (eval {require ExtUtils::Constant; 1}) { my @names = qw( CLOCKS_PER_SEC + CLOCK_BOOTTIME CLOCK_HIGHRES CLOCK_MONOTONIC + CLOCK_MONOTONIC_COARSE + CLOCK_MONOTONIC_RAW CLOCK_PROCESS_CPUTIME_ID CLOCK_REALTIME + CLOCK_REALTIME_COARSE CLOCK_SOFTTIME CLOCK_THREAD_CPUTIME_ID CLOCK_TIMEOFDAY |