From 3a2277cdf8db5b83153a545990a76a4b02a05e95 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 3 Nov 2006 00:29:19 +0000 Subject: [PATCH] fix dynlist dynamic build (ITS#4729) --- servers/slapd/overlays/dynlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5