summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h
index c15b6667dd..0c4319b2ab 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -127,6 +127,8 @@ PERLVAR(Gtimesbase, struct tms)
/* allocate a unique index to every module that calls MY_CXT_INIT */
#ifdef PERL_IMPLICIT_CONTEXT
+# ifdef USE_ITHREADS
PERLVAR(Gmy_ctx_mutex, perl_mutex)
+# endif
PERLVARI(Gmy_cxt_index, int, 0)
#endif