aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorJerome Lambourg <lambourg@adacore.com>2018-01-11 08:53:52 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-01-11 08:53:52 +0000
commitc9e8030617cb310758929ee622cc8bff2372bb55 (patch)
tree8bbfbb2d0d8dc25dc3dfb2f4beac437eca3a92e8 /gcc/ada/adaint.h
parent4727f693ad0f5ea1f3496d76361204e16abd2615 (diff)
downloadgcc-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/adaint.h')
-rw-r--r--gcc/ada/adaint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index 028ffbf..0d12f7e 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -6,7 +6,7 @@
* *
* C Header File *
* *
- * Copyright (C) 1992-2017, Free Software Foundation, Inc. *
+ * Copyright (C) 1992-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- *
@@ -51,7 +51,7 @@ extern "C" {
determine at compile time what support the system offers for large files.
For now we just list the platforms we have manually tested. */
-#if defined (__GLIBC__) || defined (__sun__)
+#if defined (__GLIBC__) || defined (__sun__) || defined (__QNX__)
#define GNAT_FOPEN fopen64
#define GNAT_OPEN open64
#define GNAT_STAT stat64