From: Howard Chu Date: Thu, 13 Mar 2003 02:01:14 +0000 (+0000) Subject: Fix version check in previous X-Git-Tag: NO_SLAP_OP_BLOCKS~119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30c5915460155f67c7a3348f4ef96a25774dfabc;p=openldap Fix version check in previous --- diff --git a/servers/slapd/back-perl/perl_back.h b/servers/slapd/back-perl/perl_back.h index 5b99adf232..03c7d2153b 100644 --- a/servers/slapd/back-perl/perl_back.h +++ b/servers/slapd/back-perl/perl_back.h @@ -8,7 +8,7 @@ LDAP_BEGIN_DECL * From Apache mod_perl: test for Perl version. */ -#if defined(pTHX_) || (PERL_REVISION >= 5 && PERL_VERSION >= 6) +#if defined(pTHX_) || (PERL_REVISION > 5 || (PERL_REVISION == 5 && PERL_VERSION >= 6)) #define PERL_IS_5_6 #endif