From c148b2381ec59a54c2c98e8549395c81d5f1cd71 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 3 Nov 2006 08:35:51 +0000 Subject: [PATCH] improve previous commit (ITS#4729) --- servers/slapd/overlays/dynlist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5