summaryrefslogtreecommitdiff
path: root/B.xs
diff options
context:
space:
mode:
Diffstat (limited to 'B.xs')
-rw-r--r--B.xs5
1 files changed, 5 insertions, 0 deletions
diff --git a/B.xs b/B.xs
index 729152265d..0bb7acba02 100644
--- a/B.xs
+++ b/B.xs
@@ -433,6 +433,9 @@ MODULE = B PACKAGE = B PREFIX = B_
PROTOTYPES: DISABLE
+BOOT:
+ INIT_SPECIALSV_LIST;
+
#define B_main_cv() main_cv
#define B_main_root() main_root
#define B_main_start() main_start
@@ -553,12 +556,14 @@ cchar(sv)
void
threadsv_names()
PPCODE:
+#ifdef USE_THREADS
int i;
STRLEN len = strlen(threadsv_names);
EXTEND(sp, len);
for (i = 0; i < len; i++)
PUSHs(sv_2mortal(newSVpv(&threadsv_names[i], 1)));
+#endif
#define OP_next(o) o->op_next