@@ -299,11 +299,11 @@ static char *strip_trailing_ws(const char *msg);
299
299
static OP * pp_require_safe (pTHX );
300
300
static void activate_interpreter (plperl_interp_desc * interp_desc );
301
301
302
- #if defined(WIN32 ) && PERL_VERSION < 28
302
+ #if defined(WIN32 ) && PERL_VERSION_LT ( 5 , 28 , 0 )
303
303
static char * setlocale_perl (int category , char * locale );
304
304
#else
305
305
#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) */
307
307
308
308
/*
309
309
* Decrement the refcount of the given SV within the active Perl interpreter
@@ -4162,7 +4162,7 @@ plperl_inline_callback(void *arg)
4162
4162
*
4163
4163
* Starting in 5.28, perl exposes Perl_setlocale to do so.
4164
4164
*/
4165
- #if defined(WIN32 ) && PERL_VERSION < 28
4165
+ #if defined(WIN32 ) && PERL_VERSION_LT ( 5 , 28 , 0 )
4166
4166
static char *
4167
4167
setlocale_perl (int category , char * locale )
4168
4168
{
@@ -4230,4 +4230,4 @@ setlocale_perl(int category, char *locale)
4230
4230
4231
4231
return RETVAL ;
4232
4232
}
4233
- #endif /* defined(WIN32) && PERL_VERSION < 28 */
4233
+ #endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */
0 commit comments