From fdad75c9cae2c7f7e25668fd30cd60ca14d5a32c Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 2 May 2011 20:24:25 +0100 Subject: [PATCH] PL_perlio_mutex is only needed with USE_UIHREADS && USE_PERLIO (Not that Configure will let you configure with ithreads but without perlio) --- perlvars.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perlvars.h b/perlvars.h index e82f03a..a92a0a0 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 -- 2.7.4