aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-12-14 07:06:05 +0000
committerMumit Khan <khan@gcc.gnu.org>1999-12-14 07:06:05 +0000
commitb9a341bad021df9cf140f3aa5c246191020f064e (patch)
treec8bfddc55c37ae982845c96f15c6c90783a94c10 /gcc/cppfiles.c
parentd01db33660176ab554220c30256f546928ff8e77 (diff)
downloadgcc-b9a341bad021df9cf140f3aa5c246191020f064e.zip
gcc-b9a341bad021df9cf140f3aa5c246191020f064e.tar.gz
gcc-b9a341bad021df9cf140f3aa5c246191020f064e.tar.bz2
cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu> * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin. * cppfiles.c (INO_T_EQ): Likewise. From-SVN: r30903
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 dfeddcc..ce6a34e 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -57,10 +57,11 @@ static void hack_vms_include_specification PROTO ((char *));
#endif
/* Windows does not natively support inodes, and neither does MSDOS.
+ Cygwin's emulation can generate non-unique inodes, so don't use it.
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 (_UWIN)) \
+#elif (defined _WIN32 && ! defined (_UWIN)) \
|| defined __MSDOS__
#define INO_T_EQ(a, b) 0
#else