diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2017-06-27 23:23:45 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2017-07-03 16:32:41 +0100 |
commit | 6c4ca75d655dc560dfacf633c27f31f751e3f615 (patch) | |
tree | 8041e15aa63e4b225d6e731d803f33e151fbeaa4 /os2 | |
parent | 63d37b7a9c5afa5c76b6fc3d2bce6fd233be5802 (diff) | |
download | perl-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 */ |