@@ -302,11 +302,11 @@ static char *strip_trailing_ws(const char *msg);
302
302
static OP * pp_require_safe (pTHX );
303
303
static void activate_interpreter (plperl_interp_desc * interp_desc );
304
304
305
- #if defined(WIN32 ) && PERL_VERSION < 28
305
+ #if defined(WIN32 ) && PERL_VERSION_LT ( 5 , 28 , 0 )
306
306
static char * setlocale_perl (int category , char * locale );
307
307
#else
308
308
#define setlocale_perl (a ,b ) Perl_setlocale(a,b)
309
- #endif /* defined(WIN32) && PERL_VERSION < 28 */
309
+ #endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */
310
310
311
311
/*
312
312
* Decrement the refcount of the given SV within the active Perl interpreter
@@ -4143,7 +4143,7 @@ plperl_inline_callback(void *arg)
4143
4143
*
4144
4144
* Starting in 5.28, perl exposes Perl_setlocale to do so.
4145
4145
*/
4146
- #if defined(WIN32 ) && PERL_VERSION < 28
4146
+ #if defined(WIN32 ) && PERL_VERSION_LT ( 5 , 28 , 0 )
4147
4147
static char *
4148
4148
setlocale_perl (int category , char * locale )
4149
4149
{
@@ -4211,4 +4211,4 @@ setlocale_perl(int category, char *locale)
4211
4211
4212
4212
return RETVAL ;
4213
4213
}
4214
- #endif /* defined(WIN32) && PERL_VERSION < 28 */
4214
+ #endif /* defined(WIN32) && PERL_VERSION_LT(5, 28, 0) */
0 commit comments