summaryrefslogtreecommitdiff
path: root/time64.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-03-13 15:19:36 -0700
committerKarl Williamson <khw@cpan.org>2022-09-29 13:08:27 -0600
commitaa910224434a2798971443904b3c8a3a52e28db6 (patch)
tree832ecf86fc3247ad3b305267dc443daf1e87cbb1 /time64.c
parentd673e97c7d4a8bde57d2f3acb9474cf103769bf3 (diff)
downloadperl-aa910224434a2798971443904b3c8a3a52e28db6.tar.gz
Remove ENV_LOCALE_LOCK/UNLOCK macros
These are subsumed by gwENVr_LOCALEr_LOCK created in the previous commit.
Diffstat (limited to 'time64.c')
-rw-r--r--time64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/time64.c b/time64.c
index 1d637e9761..37d3796679 100644
--- a/time64.c
+++ b/time64.c
@@ -159,15 +159,15 @@ static const short safe_years[SOLAR_CYCLE_LENGTH] = {
# define LOCALTIME_LOCK ENV_LOCALE_READ_LOCK
# define LOCALTIME_UNLOCK ENV_LOCALE_READ_UNLOCK
# else
-# define LOCALTIME_LOCK ENV_LOCALE_LOCK
-# define LOCALTIME_UNLOCK ENV_LOCALE_UNLOCK
+# define LOCALTIME_LOCK gwENVr_LOCALEr_LOCK
+# define LOCALTIME_UNLOCK gwENVr_LOCALEr_UNLOCK
# endif
# ifdef PERL_REENTR_USING_GMTIME_R
# define GMTIME_LOCK ENV_LOCALE_READ_LOCK
# define GMTIME_UNLOCK ENV_LOCALE_READ_UNLOCK
# else
-# define GMTIME_LOCK ENV_LOCALE_LOCK
-# define GMTIME_UNLOCK ENV_LOCALE_UNLOCK
+# define GMTIME_LOCK gwENVr_LOCALEr_LOCK
+# define GMTIME_UNLOCK gwENVr_LOCALEr_UNLOCK
# endif
#else /* Reentrant not needed, so races not possible */
# define LOCALTIME_LOCK NOOP