diff --git a/gcc/cccp.c b/gcc/cccp.c
index 5e132275f11d494428419a4ba5a0fc8a3d9693ec..0df3737949026a71bbdff571c04777337b92c582 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -233,8 +233,8 @@ static void hack_vms_include_specification ();
 #define INCLUDE_LEN_FUDGE 12	/* leave room for VMS syntax conversion */
 #endif /* VMS */
 
-/* Windows does not natively support inodes */
-#if defined (_WIN32) && ! defined (CYGWIN32)
+/* Windows does not natively support inodes, and neither does MSDOS.  */
+#if (defined (_WIN32) && ! defined (CYGWIN32)) || defined (__MSDOS__)
 #define INO_T_EQ(a, b) 0
 #endif