Skip to content

Commit a2ff3f6

Browse files
committed
Revert "plperl: Fix breakage of c89f409 in back branches."
This reverts commits d81cac4 et al. We shouldn't need that hack after the preceding commits. Discussion: https://postgr.es/m/20220131015130.shn6wr2fzuymerf6@alap3.anarazel.de
1 parent 0a7ded1 commit a2ff3f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pl/plperl/plperl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,11 @@ static char *strip_trailing_ws(const char *msg);
299299
static OP *pp_require_safe(pTHX);
300300
static void activate_interpreter(plperl_interp_desc *interp_desc);
301301

302-
#if defined(WIN32) && PERL_VERSION < 28
302+
#if defined(WIN32) && PERL_VERSION_LT(5, 28, 0)
303303
static char *setlocale_perl(int category, char *locale);
304304
#else
305305
#define setlocale_perl(a,b) Perl_setlocale(a,b)
306-
#endif /* defined(WIN32) && PERL_VERSION < 28 */
306+
#endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */
307307

308308
/*
309309
* Decrement the refcount of the given SV within the active Perl interpreter
@@ -4162,7 +4162,7 @@ plperl_inline_callback(void *arg)
41624162
*
41634163
* Starting in 5.28, perl exposes Perl_setlocale to do so.
41644164
*/
4165-
#if defined(WIN32) && PERL_VERSION < 28
4165+
#if defined(WIN32) && PERL_VERSION_LT(5, 28, 0)
41664166
static char *
41674167
setlocale_perl(int category, char *locale)
41684168
{
@@ -4230,4 +4230,4 @@ setlocale_perl(int category, char *locale)
42304230

42314231
return RETVAL;
42324232
}
4233-
#endif /* defined(WIN32) && PERL_VERSION < 28 */
4233+
#endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy