Upgrade to threads 1.72
[p5sagit/p5-mst-13.2.git] / ext / threads / t / free2.t
index f72bc37..c4d6981 100644 (file)
@@ -24,11 +24,7 @@ use ExtUtils::testlib;
 use threads;
 
 BEGIN {
-    eval {
-        require threads::shared;
-        threads::shared->import();
-    };
-    if ($@ || ! $threads::shared::threads_shared) {
+    if (! eval 'use threads::shared; 1') {
         Test::skip_all(q/threads::shared not available/);
     }