diff options
author | Mumit Khan <khan@xraylith.wisc.edu> | 1999-03-11 00:58:01 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-03-10 17:58:01 -0700 |
commit | b27d2bd5fe27c1ef2f8f696b95a7dbed0fdffc60 (patch) | |
tree | 10c7f94244c8391cf0a3ae25e323dac086ed2186 /gcc/cccp.c | |
parent | 8c90d2af840663d137baf380c851e74692006e36 (diff) | |
download | gcc-b27d2bd5fe27c1ef2f8f696b95a7dbed0fdffc60.zip gcc-b27d2bd5fe27c1ef2f8f696b95a7dbed0fdffc60.tar.gz gcc-b27d2bd5fe27c1ef2f8f696b95a7dbed0fdffc60.tar.bz2 |
cppfiles.c (INO_T_EQ): Handle UWIN.
* 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.
From-SVN: r25696
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -78,7 +78,8 @@ static int hack_vms_include_specification (); #endif /* VMS */ /* Windows does not natively support inodes, and neither does MSDOS. */ -#if (defined (_WIN32) && ! defined (__CYGWIN__)) || defined (__MSDOS__) +#if (defined (_WIN32) && ! defined (__CYGWIN__) && ! defined (_UWIN)) \ + || defined (__MSDOS__) #define INO_T_EQ(a, b) 0 #endif @@ -4907,7 +4908,8 @@ static int absolute_filename (filename) char *filename; { -#if defined (__MSDOS__) || (defined (_WIN32) && !defined (__CYGWIN__)) +#if defined (__MSDOS__) \ + || (defined (_WIN32) && !defined (__CYGWIN__) && !defined (_UWIN)) if (ISALPHA (filename[0]) && filename[1] == ':') filename += 2; #endif #if defined (__CYGWIN__) |