summaryrefslogtreecommitdiff
path: root/t/lib/thread.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/thread.t')
-rwxr-xr-xt/lib/thread.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/thread.t b/t/lib/thread.t
index 9810ae48d9..b8e1b387ba 100755
--- a/t/lib/thread.t
+++ b/t/lib/thread.t
@@ -4,7 +4,7 @@ BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
- if ($Config{'ccflags'} !~ /USE_THREADS\b/) {
+ if (! $Config{'usethreads'}) {
print "1..0\n";
exit 0;
}