diff options
author | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-09-25 08:46:40 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-09-25 08:46:40 +0000 |
commit | f7fb5c08f36ea1c1aeebe1710839d1c0d5e68674 (patch) | |
tree | b4cdb910fe7ef003d34d219972e910f4bc14e910 /gcc/ada/s-oscons-tmplt.c | |
parent | aa11d1dd992874c1286d29343d499aa7c7855dd6 (diff) | |
download | gcc-f7fb5c08f36ea1c1aeebe1710839d1c0d5e68674.zip gcc-f7fb5c08f36ea1c1aeebe1710839d1c0d5e68674.tar.gz gcc-f7fb5c08f36ea1c1aeebe1710839d1c0d5e68674.tar.bz2 |
[multiple changes]
2017-09-25 Bob Duff <duff@adacore.com>
* exp_ch3.adb: Rename Comp_Type_Simple to be Comp_Simple_Init.
2017-09-25 Doug Rupp <rupp@adacore.com>
* libgnarl/s-taprop__linux.adb (Base_Monotonic_Clock): New variable.
(Compute_Base_Monotonic_Clock): New function.
(Timed_Sleep): Adjust to use Base_Monotonic_Clock.
(Timed_Delay): Likewise.
(Monotonic_Clock): Likewise.
* s-oscons-tmplt.c (CLOCK_MONOTONIC): Use on Linux.
From-SVN: r253136
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r-- | gcc/ada/s-oscons-tmplt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index 0ace0b6..444ad60 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -1440,7 +1440,8 @@ CND(CLOCK_FASTEST, "Fastest clock") #endif CND(CLOCK_THREAD_CPUTIME_ID, "Thread CPU clock") -#if defined(__FreeBSD__) || (defined(_AIX) && defined(_AIXVERSION_530)) \ +#if defined(__linux__) || defined(__FreeBSD__) \ + || (defined(_AIX) && defined(_AIXVERSION_530)) \ || defined(__DragonFly__) /** On these platforms use system provided monotonic clock instead of ** the default CLOCK_REALTIME. We then need to set up cond var attributes |