aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pe-run2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/pe-run2.exp')
-rw-r--r--ld/testsuite/ld-pe/pe-run2.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-pe/pe-run2.exp b/ld/testsuite/ld-pe/pe-run2.exp
index af45915..4ae239f 100644
--- a/ld/testsuite/ld-pe/pe-run2.exp
+++ b/ld/testsuite/ld-pe/pe-run2.exp
@@ -56,7 +56,7 @@ if {![is_pecoff_format]} {
}
# No compiler, no test.
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
untested "Direct linking to dll fastcall/stdcall test"
return
}