diff options
author | Ed Falis <falis@adacore.com> | 2005-03-29 18:22:47 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-03-29 18:22:47 +0200 |
commit | 74a20253e257ffdaf5ef2c8a0dca20059dfc2901 (patch) | |
tree | 9f623babb9a29841c67a62aa8d971b9b81e01776 /gcc | |
parent | adb76d07cfd5fb25e3502d13523f1e808976d679 (diff) | |
download | gcc-74a20253e257ffdaf5ef2c8a0dca20059dfc2901.zip gcc-74a20253e257ffdaf5ef2c8a0dca20059dfc2901.tar.gz gcc-74a20253e257ffdaf5ef2c8a0dca20059dfc2901.tar.bz2 |
cio.c: Undefine putchar and getchar for VTHREADS: incompatible with VxWorks 653 1.4
2005-03-29 Ed Falis <falis@adacore.com>
* cio.c: Undefine putchar and getchar for VTHREADS: incompatible with
VxWorks 653 1.4
From-SVN: r97189
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/cio.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/cio.c b/gcc/ada/cio.c index 8e4c7cb..4b4a807 100644 --- a/gcc/ada/cio.c +++ b/gcc/ada/cio.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2003 Free Software Foundation, Inc. * + * Copyright (C) 1992-2005 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,6 +51,11 @@ #undef stdout #endif +#ifdef VTHREADS +#undef putchar +#undef getchar +#endif + int get_char (void) { |