[ANNOUNCE] Test::Simple 0.47
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / t / threads.t
index 4212ccc..5670bda 100644 (file)
@@ -8,7 +8,7 @@ BEGIN {
 }
 
 use Config;
-unless ($Config{'useithreads'}) {
+unless ($Config{'useithreads'} and eval { require threads; 1 }) {
     print "1..0 # Skip: no threads\n";
     exit 0;
 }