Skip to content

Commit 397c65d

Browse files
haargLeont
authored andcommitted
silence warning for our LC_NUMERIC_LOCK macro
The real LC_NUMERIC_LOCK expects a parameter, and we are passing one, so the macro definition should accept a parameter to properly consume the argument.
1 parent 2dd8dc2 commit 397c65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vutil/vutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const char * Perl_prescan_version(pTHX_ const char *s, bool strict, const char**
223223

224224

225225
#if PERL_VERSION_LT(5,27,9)
226-
# define LC_NUMERIC_LOCK
226+
# define LC_NUMERIC_LOCK(cond)
227227
# define LC_NUMERIC_UNLOCK
228228
# if PERL_VERSION_LT(5,19,0)
229229
# undef STORE_LC_NUMERIC_SET_STANDARD

0 commit comments

Comments
 (0)