Skip to content

Commit

Permalink
perl.h: Fake up win32 compile a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Sep 13, 2023
1 parent b0fdfba commit 61a2efc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions perl.h
Expand Up @@ -7063,7 +7063,8 @@ the plain locale pragma without a parameter (S<C<use locale>>) is in effect.

#else /* Below: Threaded, and locales are supported */

/* A locale mutex is required on all such threaded builds.
/* A locale mutex is required on all such threaded builds, if only for
* certain rare cases (which you can grep for).
*
* This mutex simulates a general (or recursive) semaphore. The current
* thread will lock the mutex if the per-thread variable is zero, and then
Expand Down Expand Up @@ -7493,7 +7494,8 @@ cannot have changed since the precalculation.
/* The next two macros should be rarely used, and only after being sure that
* this is what is needed */
# define SET_NUMERIC_STANDARD() \
STMT_START { \
STMT_START { \
/*assert(PL_locale_mutex_depth > 0);*/ \
DEBUG_Lv(PerlIO_printf(Perl_debug_log, \
"%s: %d: lc_numeric standard=%d\n", \
__FILE__, __LINE__, PL_numeric_standard)); \
Expand Down

0 comments on commit 61a2efc

Please sign in to comment.