update change#2670 to later version
[p5sagit/p5-mst-13.2.git] / t / op / nothread.t
old mode 100644 (file)
new mode 100755 (executable)
index acc2089..cee8e2d
@@ -6,10 +6,10 @@
 BEGIN
  {
   chdir 't' if -d 't';
-  @INC = "../lib";
+  unshift @INC, "../lib";
   require Config;
   import Config;
-  if ($Config{'ccflags'} =~ /-DUSE_THREADS\b/)
+  if ($Config{'usethreads'})
    {
     print "1..0\n";
     exit 0;