summaryrefslogtreecommitdiff
path: root/gcc/config/i386/xm-mingw32.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-08-20 11:14:11 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2004-08-20 11:14:11 +0000
commita9024779f1a66dc0e53913194d663a13ae598646 (patch)
tree9dfbe7358ca35bc39796d9b1b9a25bd2a7da1be7 /gcc/config/i386/xm-mingw32.h
parentc0ca279584af777be53c427c287a5d2972447920 (diff)
downloadgcc-a9024779f1a66dc0e53913194d663a13ae598646.tar.gz
re PR other/5620 (GCC -save-temps foo.c fails to build foo.o)
PR 5620 * gcc.c (struct stat input_stat): Don't define if HOST_LACKS_INODE_NUMBERS (do_spec_1): If HOST_LACKS_INODE_NUMBERS, use lrealpath rather than stat to determine if temp file is same as input file. * doc/hostconfig.texi: Document HOST_LACKS_INODE_NUMBERS. * config/i386/xm-mingw32.h: Define HOST_LACKS_INODE_NUMBERS From-SVN: r86311
Diffstat (limited to 'gcc/config/i386/xm-mingw32.h')
-rw-r--r--gcc/config/i386/xm-mingw32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/i386/xm-mingw32.h b/gcc/config/i386/xm-mingw32.h
index 888196697be..f22347c3fa0 100644
--- a/gcc/config/i386/xm-mingw32.h
+++ b/gcc/config/i386/xm-mingw32.h
@@ -27,3 +27,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* This is the name of the null device on windows. */
#define HOST_BIT_BUCKET "nul"
+
+/* The st_ino field of struct stat is always 0. */
+#define HOST_LACKS_INODE_NUMBERS