cio.c: Undefine putchar and getchar for VTHREADS: incompatible with VxWorks 653 1.4
authorEd Falis <falis@adacore.com>
Tue, 29 Mar 2005 16:22:47 +0000 (18:22 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 29 Mar 2005 16:22:47 +0000 (18:22 +0200)
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

gcc/ada/cio.c

index 8e4c7cba596b412ee29ebcb5e2fb35fb9b85b44d..4b4a8070282c4d82947021d6f24c6b45abf72b7f 100644 (file)
@@ -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- *
 #undef stdout
 #endif
 
+#ifdef VTHREADS
+#undef putchar
+#undef getchar
+#endif
+
 int
 get_char (void)
 {