From: Pierangelo Masarati Date: Fri, 3 Nov 2006 00:29:19 +0000 (+0000) Subject: fix dynlist dynamic build (ITS#4729) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a2277cdf8db5b83153a545990a76a4b02a05e95;p=openldap fix dynlist dynamic build (ITS#4729) --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index 4fc91171b9..ba5c3bd552 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -23,10 +23,10 @@ #ifdef SLAPD_OVER_DYNLIST -#if LDAP_VENDOR_VERSION_MINOR != X && LDAP_VENDOR_VERSION_MINOR < 3 -#define OL_2_2_COMPAT -#elif SLAPD_OVER_DYNGROUP != SLAPD_MOD_STATIC +#if LDAP_VENDOR_VERSION_MINOR == X || LDAP_VENDOR_VERSION_MINOR > 3 #define TAKEOVER_DYNGROUP +#elif LDAP_VENDOR_VERSION_MINOR < 3 +#define OL_2_2_COMPAT #endif #include