summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-08-27 15:16:42 +0000
committerArtur Bergman <sky@nanisky.com>2001-08-27 15:16:42 +0000
commit4d1ff10ffec86208b0da135b87c76b89e61c866e (patch)
tree741ba054917367001dce29e674a1e99c8fa229d3 /mg.c
parenteb9ee3dc93112029ee3de6fd047d54576a1f1a1f (diff)
downloadperl-4d1ff10ffec86208b0da135b87c76b89e61c866e.tar.gz
Changes USE_THREADS to USE_5005THREADS in the entire source.
Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mg.c b/mg.c
index 07869e0c6b..af8e9a09ea 100644
--- a/mg.c
+++ b/mg.c
@@ -825,11 +825,11 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
case '0':
break;
#endif
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
case '@':
sv_setsv(sv, thr->errsv);
break;
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
}
return 0;
}
@@ -2175,16 +2175,16 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
}
break;
#endif
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
case '@':
sv_setsv(thr->errsv, sv);
break;
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
}
return 0;
}
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
int
Perl_magic_mutexfree(pTHX_ SV *sv, MAGIC *mg)
{
@@ -2197,7 +2197,7 @@ Perl_magic_mutexfree(pTHX_ SV *sv, MAGIC *mg)
COND_DESTROY(MgCONDP(mg));
return 0;
}
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
I32
Perl_whichsig(pTHX_ char *sig)