home *** CD-ROM | disk | FTP | other *** search
- Thu Jul 15 20:27:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
-
- * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
- * cppfiles.c (INO_T_EQ): Likewise.
-
- Index: gcc-2.95.2/gcc/cccp.c
- ===================================================================
- RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/cccp.c,v
- retrieving revision 1.1.1.1
- diff -u -3 -p -r1.1.1.1 cccp.c
- --- gcc-2.95.2/gcc/cccp.c 1999/11/05 01:09:41 1.1.1.1
- +++ gcc-2.95.2/gcc/cccp.c 1999/11/05 08:08:21
- @@ -82,8 +82,9 @@ static int hack_vms_include_specificatio
- #define INCLUDE_LEN_FUDGE 12 /* leave room for VMS syntax conversion */
- #endif /* VMS */
-
- -/* Windows does not natively support inodes, and neither does MSDOS. */
- -#if (defined (_WIN32) && ! defined (__CYGWIN__) && ! defined (_UWIN)) \
- +/* Windows does not natively support inodes, and neither does MSDOS.
- + Cygwin's emulation can generate non-unique inodes, so don't use it. */
- +#if (defined (_WIN32) && ! defined (_UWIN)) \
- || defined (__MSDOS__)
- #define INO_T_EQ(a, b) 0
- #endif
- Index: gcc-2.95.2/gcc/cppfiles.c
- ===================================================================
- RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/cppfiles.c,v
- retrieving revision 1.1.1.1
- diff -u -3 -p -r1.1.1.1 cppfiles.c
- --- gcc-2.95.2/gcc/cppfiles.c 1999/11/05 01:09:42 1.1.1.1
- +++ gcc-2.95.2/gcc/cppfiles.c 1999/11/05 08:08:21
- @@ -53,10 +53,11 @@ static void hack_vms_include_specificati
- #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
-