Fix minor bugs found by riscos build attempt.
authorJim Wilson <wilson@cygnus.com>
Thu, 4 Sep 1997 18:54:16 +0000 (18:54 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 4 Sep 1997 18:54:16 +0000 (11:54 -0700)
* tlink.c: Include ctype.h.
* ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.

From-SVN: r15080

gcc/ChangeLog
gcc/ginclude/va-mips.h
gcc/tlink.c

index 3144f810f8f231041c04720a3a2a8c6f2bff269e..d3bec9db4059883b1fd55ebb09f95610bf57f428 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep  4 11:51:43 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * tlink.c: Include ctype.h.
+       * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
+
 Thu Sep  4 11:17:16 1997  Mikeael Meissner  (meissner@cygnus.com)
 
        * bitmap.c: Conditionally include stdlib.h.
index af1e1f461b6c64adc402df7bbc147c97c1a40b97..a622199388e65b893bb0c0778a09798f8c59233f 100644 (file)
@@ -35,6 +35,8 @@ typedef char * __gnuc_va_list;
    __gnuc_va_list.  */
 #if defined (_STDARG_H) || defined (_VARARGS_H)
 
+#ifndef _VA_MIPS_H_ENUM
+#define _VA_MIPS_H_ENUM
 enum {
   __no_type_class = -1,
   __void_type_class,
@@ -57,6 +59,7 @@ enum {
   __file_type_class,
   __lang_type_class
 };
+#endif
 
 /* In GCC version 2, we want an ellipsis at the end of the declaration
    of the argument list.  GCC version 1 can't parse it.  */
index 77b7875c19347e43f525549237497b0096d7b686..9f673b9f17db1850131757eb63ba4454a0037956 100644 (file)
@@ -22,6 +22,7 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
+#include <ctype.h>
 #include "config.h"
 #include "hash.h"
 #include "demangle.h"