diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-09-01 12:59:58 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-09-01 12:59:58 +0200 |
commit | f503788621ee1fadc3bcd506f8939b3cd82d6876 (patch) | |
tree | 0d9edcd5120dd470ff8c1f523b5ecd692f338259 /gcc/ada/aux-io.c | |
parent | 549e455803a0014098c187a65bc7e4ce783e8645 (diff) | |
download | gcc-f503788621ee1fadc3bcd506f8939b3cd82d6876.zip gcc-f503788621ee1fadc3bcd506f8939b3cd82d6876.tar.gz gcc-f503788621ee1fadc3bcd506f8939b3cd82d6876.tar.bz2 |
[multiple changes]
2011-09-01 Yannick Moy <moy@adacore.com>
* ali-util.adb, ali-util.ads (Read_Withed_ALIs): Add parameter
Ignore_Errors to ignore failures to read ALI files when True.
2011-09-01 Javier Miranda <miranda@adacore.com>
* exp_ch3.adb (Expand_N_Object_Declaration): Handle non-default
constructor calls associated with non-tagged record types.
2011-09-01 Robert Dewar <dewar@adacore.com>
* g-socthi-vms.adb: Minor reformatting.
2011-09-01 Nicolas Roche <roche@adacore.com>
* sysdep.c: Don't use macro functions for stdio functions on VxWorks
in order to avoid impact of imcompatible changes.
* cstreams.c: Likewise
* cio.c: Likewise
* aux-io.c: Likewise
2011-09-01 Yannick Moy <moy@adacore.com>
* lib-writ.adb (Write_With_Lines): Always output complete information
on "with" line in Alfa mode, as this is required by formal verification
back-end.
From-SVN: r178406
Diffstat (limited to 'gcc/ada/aux-io.c')
-rw-r--r-- | gcc/ada/aux-io.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ada/aux-io.c b/gcc/ada/aux-io.c index a7ab20b..6ff415d 100644 --- a/gcc/ada/aux-io.c +++ b/gcc/ada/aux-io.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2009 Free Software Foundation, Inc. * + * Copyright (C) 1992-2011, 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- * @@ -39,6 +39,16 @@ #include "system.h" #endif +/* Don't use macros versions of this functions on VxWorks since they cause + imcompatible changes in some VxWorks versions */ +#ifdef __vxworks +#undef getchar +#undef putchar +#undef feof +#undef ferror +#undef fileno +#endif + /* Function wrappers are needed to access the values from Ada which are defined as C macros. */ |