PL_perlio_mutex is only needed with USE_UIHREADS && USE_PERLIO
authorNicholas Clark <nick@ccl4.org>
Mon, 2 May 2011 19:24:25 +0000 (20:24 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 12 Jun 2011 14:15:23 +0000 (16:15 +0200)
(Not that Configure will let you configure with ithreads but without perlio)

perlvars.h

index e82f03a..a92a0a0 100644 (file)
@@ -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