]> git.sur5r.net Git - openldap/commitdiff
improve previous commit (ITS#4729)
authorPierangelo Masarati <ando@openldap.org>
Fri, 3 Nov 2006 08:35:51 +0000 (08:35 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 3 Nov 2006 08:35:51 +0000 (08:35 +0000)
servers/slapd/overlays/dynlist.c

index ba5c3bd552264a3c7cfc7319bc599400ade283c0..62c127c10b2c2280bb8d557549dc82e7d7ee96a3 100644 (file)
 #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 <stdio.h>