aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/cio.c
diff options
context:
space:
mode:
authorEd Falis <falis@adacore.com>2005-03-29 18:22:47 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2005-03-29 18:22:47 +0200
commit74a20253e257ffdaf5ef2c8a0dca20059dfc2901 (patch)
tree9f623babb9a29841c67a62aa8d971b9b81e01776 /gcc/ada/cio.c
parentadb76d07cfd5fb25e3502d13523f1e808976d679 (diff)
downloadgcc-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/ada/cio.c')
-rw-r--r--gcc/ada/cio.c7
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)
{