aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/fixtests.c
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2001-05-26 17:27:10 +0000
committerBruce Korb <korbb@gcc.gnu.org>2001-05-26 17:27:10 +0000
commit89e50a58a5c9df69dc5a94e34189b5a4bca2b145 (patch)
tree2b4cdc4b7ad94e668252626f56072554afc1ad27 /gcc/fixinc/fixtests.c
parent123a7fbfcbd7cdf4debecf4e2f323f594b69cbf7 (diff)
downloadgcc-89e50a58a5c9df69dc5a94e34189b5a4bca2b145.zip
gcc-89e50a58a5c9df69dc5a94e34189b5a4bca2b145.tar.gz
gcc-89e50a58a5c9df69dc5a94e34189b5a4bca2b145.tar.bz2
We must apply the fix in test mode
From-SVN: r42634
Diffstat (limited to 'gcc/fixinc/fixtests.c')
-rw-r--r--gcc/fixinc/fixtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixinc/fixtests.c b/gcc/fixinc/fixtests.c
index a2d5faf..ce254d8 100644
--- a/gcc/fixinc/fixtests.c
+++ b/gcc/fixinc/fixtests.c
@@ -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