diff options
author | Jerome Lambourg <lambourg@adacore.com> | 2018-01-11 08:53:52 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-01-11 08:53:52 +0000 |
commit | c9e8030617cb310758929ee622cc8bff2372bb55 (patch) | |
tree | 8bbfbb2d0d8dc25dc3dfb2f4beac437eca3a92e8 /gcc/ada/s-oscons-tmplt.c | |
parent | 4727f693ad0f5ea1f3496d76361204e16abd2615 (diff) | |
download | gcc-c9e8030617cb310758929ee622cc8bff2372bb55.zip gcc-c9e8030617cb310758929ee622cc8bff2372bb55.tar.gz gcc-c9e8030617cb310758929ee622cc8bff2372bb55.tar.bz2 |
[Ada] QNX: various runtime fixes for file I/O, timers, timezone
2018-01-11 Jerome Lambourg <lambourg@adacore.com>
gcc/ada/
* libgnat/g-soliop__qnx.ads: New.
* adaint.c, adaint.h, cstreams.c, s-oscons-tmplt.c, sysdep.c: Update
for QNX.
From-SVN: r256512
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r-- | gcc/ada/s-oscons-tmplt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index 95eadfc..4d22450 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -7,7 +7,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2000-2017, Free Software Foundation, Inc. -- +-- Copyright (C) 2000-2018, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -1443,7 +1443,7 @@ CND(CLOCK_THREAD_CPUTIME_ID, "Thread CPU clock") #if defined(__linux__) || defined(__FreeBSD__) \ || (defined(_AIX) && defined(_AIXVERSION_530)) \ - || defined(__DragonFly__) + || defined(__DragonFly__) || defined(__QNX__) /** On these platforms use system provided monotonic clock instead of ** the default CLOCK_REALTIME. We then need to set up cond var attributes ** appropriately (see thread.c). |