We must apply the fix in test mode
authorBruce Korb <korbb@gcc.gnu.org>
Sat, 26 May 2001 17:27:10 +0000 (17:27 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Sat, 26 May 2001 17:27:10 +0000 (17:27 +0000)
From-SVN: r42634

gcc/fixinc/fixtests.c

index a2d5fafe59a036a6cc92589c2c326f8ad43ef132..ce254d8854fff10e49bf7b042ab2d6b9e758bcc5 100644 (file)
@@ -120,7 +120,7 @@ TEST_FOR_FIX_PROC_HEAD( machine_name_test )
 TEST_FOR_FIX_PROC_HEAD( stdc_0_in_system_headers_test )
 {
 #ifdef STDC_0_IN_SYSTEM_HEADERS
-  return SKIP_FIX;
+  return (pz_machine == NULL) ? APPLY_FIX : SKIP_FIX;
 #else
   return APPLY_FIX;
 #endif