From f1959ea2522397e29ed09d2dfa444c3ca3c7379d Mon Sep 17 00:00:00 2001 From: law Date: Thu, 11 Mar 1999 00:58:01 +0000 Subject: * cppfiles.c (INO_T_EQ): Handle UWIN. * c-common.c (decl_attributes): Flag unrecognized attribute functions as warnings instead of as errors. Support for i386-pc-uwin. * i386/uwin.h: New file. * i386/xm-uwin.h: New file. * i386/t-uwin: New file. * i386/uwin.asm: New file. * configure.in (i[3456]86-*-uwin*): Define. Add Workaround for vfork bug when hosted on uwin. * configure: Regenerate. * cccp.c (INO_T_EQ): Undefine. UWIN has inodes. (absolute_filename): UWIN uses POSIX pathnames only. * libgcc2.c (getpagesize): Do not define for UWIN. (mprotect): Likewise. * protoize.c (dirent.h): Conditionally include. (fputc): Prototype only if it's not a macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25696 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/protoize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/protoize.c') diff --git a/gcc/protoize.c b/gcc/protoize.c index a0a3110b286..1f55551a748 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -60,7 +60,7 @@ Boston, MA 02111-1307, USA. */ #include "system.h" #include "intl.h" -#if ! defined (_WIN32) || defined (__CYGWIN__) +#if ! defined (_WIN32) || defined (__CYGWIN__) || defined (_UWIN) #if defined(POSIX) || defined(CONCURRENT) #include #else @@ -145,7 +145,9 @@ extern int puts (); #ifndef fputs /* This may have been #defined by "system.h". */ extern int fputs (); #endif +#ifndef fputc /* some systems define this as a macro. */ extern int fputc (); +#endif extern int unlink (); extern int access (); -- cgit v1.2.1