@@ -298,11 +298,11 @@ static char *strip_trailing_ws(const char *msg);
298
298
static OP * pp_require_safe (pTHX );
299
299
static void activate_interpreter (plperl_interp_desc * interp_desc );
300
300
301
- #if defined(WIN32 ) && PERL_VERSION < 28
301
+ #if defined(WIN32 ) && PERL_VERSION_LT ( 5 , 28 , 0 )
302
302
static char * setlocale_perl (int category , char * locale );
303
303
#else
304
304
#define setlocale_perl (a ,b ) Perl_setlocale(a,b)
305
- #endif /* defined(WIN32) && PERL_VERSION < 28 */
305
+ #endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */
306
306
307
307
/*
308
308
* Decrement the refcount of the given SV within the active Perl interpreter
@@ -4135,7 +4135,7 @@ plperl_inline_callback(void *arg)
4135
4135
*
4136
4136
* Starting in 5.28, perl exposes Perl_setlocale to do so.
4137
4137
*/
4138
- #if defined(WIN32 ) && PERL_VERSION < 28
4138
+ #if defined(WIN32 ) && PERL_VERSION_LT ( 5 , 28 , 0 )
4139
4139
static char *
4140
4140
setlocale_perl (int category , char * locale )
4141
4141
{
@@ -4203,4 +4203,4 @@ setlocale_perl(int category, char *locale)
4203
4203
4204
4204
return RETVAL ;
4205
4205
}
4206
- #endif /* defined(WIN32) && PERL_VERSION < 28 */
4206
+ #endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */
0 commit comments