summaryrefslogtreecommitdiffstats
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-11 00:58:01 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-11 00:58:01 +0000
commitf1959ea2522397e29ed09d2dfa444c3ca3c7379d (patch)
tree10c7f94244c8391cf0a3ae25e323dac086ed2186 /gcc/cppfiles.c
parent5b464ce7c8319e2ff1e8f5bba179e17e976e2648 (diff)
downloadppe42-gcc-f1959ea2522397e29ed09d2dfa444c3ca3c7379d.tar.gz
ppe42-gcc-f1959ea2522397e29ed09d2dfa444c3ca3c7379d.zip
* 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
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r--gcc/cppfiles.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 88a1e4d5c1f..cb996e2145a 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -54,7 +54,8 @@ static void hack_vms_include_specification PROTO ((char *));
VMS has non-numeric inodes. */
#ifdef VMS
#define INO_T_EQ(a, b) (!bcmp((char *) &(a), (char *) &(b), sizeof (a)))
-#elif (defined _WIN32 && !defined CYGWIN) || defined __MSDOS__
+#elif (defined _WIN32 && !defined CYGWIN && ! defined (_UWIN)) \
+ || defined __MSDOS__
#define INO_T_EQ(a, b) 0
#else
#define INO_T_EQ(a, b) ((a) == (b))
OpenPOWER on IntegriCloud