From: Pierangelo Masarati Date: Fri, 3 Nov 2006 08:35:51 +0000 (+0000) Subject: improve previous commit (ITS#4729) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c148b2381ec59a54c2c98e8549395c81d5f1cd71;p=openldap improve previous commit (ITS#4729) --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index ba5c3bd552..62c127c10b 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -24,10 +24,14 @@ #ifdef SLAPD_OVER_DYNLIST #if LDAP_VENDOR_VERSION_MINOR == X || LDAP_VENDOR_VERSION_MINOR > 3 +#if SLAPD_OVER_DYNGROUP != SLAPD_MOD_STATIC #define TAKEOVER_DYNGROUP -#elif LDAP_VENDOR_VERSION_MINOR < 3 +#endif +#else +#if LDAP_VENDOR_VERSION_MINOR < 3 #define OL_2_2_COMPAT #endif +#endif #include