diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-04 18:54:16 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-04 18:54:16 +0000 |
commit | cb60b1d7381ff356c49bce9454758a620e1630f5 (patch) | |
tree | 97f49545b7637a17b92ff78fcf1314adc7774b86 /gcc | |
parent | 473b91787cd783b2b0ae68a6c02f617f541fffea (diff) | |
download | gcc-cb60b1d7381ff356c49bce9454758a620e1630f5.tar.gz |
Fix minor bugs found by riscos build attempt.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ginclude/va-mips.h | 3 | ||||
-rw-r--r-- | gcc/tlink.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3144f810f8f..d3bec9db405 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/ginclude/va-mips.h b/gcc/ginclude/va-mips.h index af1e1f461b6..a622199388e 100644 --- a/gcc/ginclude/va-mips.h +++ b/gcc/ginclude/va-mips.h @@ -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. */ diff --git a/gcc/tlink.c b/gcc/tlink.c index 77b7875c193..9f673b9f17d 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -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" |