aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2019-07-18 16:37:40 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2019-07-18 18:37:40 +0200
commita6fc663e311b2b862373e4a4f3ee7d6836acb1a2 (patch)
tree6d0223791c112e5b47e7dd4a5dc668f65c71ca4f /gcc/ada/adaint.h
parentb9a0100963b357e7e84084e45bbc51d6576410a4 (diff)
downloadgcc-a6fc663e311b2b862373e4a4f3ee7d6836acb1a2.zip
gcc-a6fc663e311b2b862373e4a4f3ee7d6836acb1a2.tar.gz
gcc-a6fc663e311b2b862373e4a4f3ee7d6836acb1a2.tar.bz2
Makefile.rtl, [...]: Introduce a "STANDALONE" mode where C runtime files do not have any dependency...
* Makefile.rtl, expect.c, env.c, aux-io.c, mkdir.c, initialize.c, cstreams.c, raise.c, tracebak.c, adadecode.c, init.c, raise-gcc.c, argv.c, adaint.c, adaint.h, ctrl_c.c, sysdep.c, rtinit.c, cio.c, seh_init.c, exit.c, targext.c: Introduce a "STANDALONE" mode where C runtime files do not have any dependency on GCC include files. Remove unnecessary includes. Remove remaining references to VMS in runtime C file. * runtime.h: new File. From-SVN: r273576
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r--gcc/ada/adaint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index 2ae8766..311e240 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -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__) || defined (__QNX__)
+#if (defined (__GLIBC__) && !defined(STANDALONE)) || defined (__sun__) || defined (__QNX__)
#define GNAT_FOPEN fopen64
#define GNAT_OPEN open64
#define GNAT_STAT stat64