OSDN Git Service

Fix minor bugs found by riscos build attempt.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 1997 18:54:16 +0000 (18:54 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 1997 18:54:16 +0000 (18:54 +0000)
* tlink.c: Include ctype.h.
* ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.

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

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

index 3144f81..d3bec9d 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 af1e1f4..a622199 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 77b7875..9f673b9 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"