summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlvars.h b/perlvars.h
index e82f03a5db..a92a0a0040 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -131,7 +131,7 @@ PERLVARI(Gmy_cxt_index, int, 0)
PERLVAR(Ghints_mutex, perl_mutex) /* Mutex for refcounted he refcounting */
#endif
-#if defined(USE_ITHREADS)
+#if defined(USE_ITHREADS) && defined(USE_PERLIO)
PERLVAR(Gperlio_mutex, perl_mutex) /* Mutex for perlio fd refcounts */
#endif