From 6c4ca75d655dc560dfacf633c27f31f751e3f615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Tue, 27 Jun 2017 23:23:45 +0100 Subject: Remove #ifdef USE_ITHREADS around MUTEX_* calls These macros are defined as NOOP outside USE_ITHREADS, so there's no point in guarding them with it. --- os2/os2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'os2') diff --git a/os2/os2.c b/os2/os2.c index d7a4b58c35..8cb73671ad 100644 --- a/os2/os2.c +++ b/os2/os2.c @@ -4959,10 +4959,8 @@ Perl_OS2_init3(char **env, void **preg, int flags) if (PL_sh_path[i] == '\\') PL_sh_path[i] = '/'; } } -#if defined(USE_5005THREADS) || defined(USE_ITHREADS) MUTEX_INIT(&start_thread_mutex); MUTEX_INIT(&perlos2_state_mutex); -#endif os2_mytype = my_type(); /* Do it before morphing. Needed? */ os2_mytype_ini = os2_mytype; Perl_os2_initial_mode = -1; /* Uninit */ -- cgit v1.2.1