summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-06-27 23:23:45 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-07-03 16:32:41 +0100
commit6c4ca75d655dc560dfacf633c27f31f751e3f615 (patch)
tree8041e15aa63e4b225d6e731d803f33e151fbeaa4 /os2
parent63d37b7a9c5afa5c76b6fc3d2bce6fd233be5802 (diff)
downloadperl-6c4ca75d655dc560dfacf633c27f31f751e3f615.tar.gz
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.
Diffstat (limited to 'os2')
-rw-r--r--os2/os2.c2
1 files changed, 0 insertions, 2 deletions
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 */