summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-02 20:24:25 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-12 16:15:23 +0200
commitfdad75c9cae2c7f7e25668fd30cd60ca14d5a32c (patch)
tree30ac79c8c2a8748ff9d1eba701b49598cbeb578e /perlvars.h
parent8bf206230526c0a7639d6ffe1a763ac4e70153a0 (diff)
downloadperl-fdad75c9cae2c7f7e25668fd30cd60ca14d5a32c.tar.gz
PL_perlio_mutex is only needed with USE_UIHREADS && USE_PERLIO
(Not that Configure will let you configure with ithreads but without perlio)
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