summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/B.xs2
-rw-r--r--ext/B/B/C.pm4
-rw-r--r--ext/B/B/Deparse.pm2
-rw-r--r--ext/B/ramblings/runtime.porting2
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs
index c3ce0ed43e..f27f3474ff 100644
--- a/ext/B/B.xs
+++ b/ext/B/B.xs
@@ -549,7 +549,7 @@ cchar(sv)
void
threadsv_names()
PPCODE:
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
int i;
STRLEN len = strlen(PL_threadsv_names);
diff --git a/ext/B/B/C.pm b/ext/B/B/C.pm
index f8df7b65a2..71b76b53ed 100644
--- a/ext/B/B/C.pm
+++ b/ext/B/B/C.pm
@@ -1062,10 +1062,10 @@ typedef struct {
long xcv_depth; /* >= 2 indicates recursive call */
AV * xcv_padlist;
CV * xcv_outside;
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
perl_mutex *xcv_mutexp;
struct perl_thread *xcv_owner; /* current owner thread */
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
cv_flags_t xcv_flags;
} XPVCV_or_similar;
#define ANYINIT(i) i
diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm
index 11803c8ee9..b02b9e1b97 100644
--- a/ext/B/B/Deparse.pm
+++ b/ext/B/B/Deparse.pm
@@ -35,7 +35,7 @@ use warnings ();
# - package declarations using cop_stash
# - subs, formats and code sorted by cop_seq
# Changes between 0.51 and 0.52:
-# - added pp_threadsv (special variables under USE_THREADS)
+# - added pp_threadsv (special variables under USE_5005THREADS)
# - added documentation
# Changes between 0.52 and 0.53:
# - many changes adding precedence contexts and associativity
diff --git a/ext/B/ramblings/runtime.porting b/ext/B/ramblings/runtime.porting
index d58b01105e..2f63a9e37c 100644
--- a/ext/B/ramblings/runtime.porting
+++ b/ext/B/ramblings/runtime.porting
@@ -352,6 +352,6 @@ egrent
getlogin
syscall
lock 6 1
-threadsv 6 2 unused if not USE_THREADS
+threadsv 6 2 unused if not USE_5005THREADS
setstate 1 1 currently unused anywhere
method_named 10 2