]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2005-03-29 Ed Falis <falis@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2005 16:22:47 +0000 (16:22 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2005 16:22:47 +0000 (16:22 +0000)
* cio.c: Undefine putchar and getchar for VTHREADS: incompatible with
VxWorks 653 1.4

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97189 138bc75d-0d04-0410-961f-82ee72b054a4

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)
 {