]> git.sur5r.net Git - openldap/commitdiff
fix dynlist dynamic build (ITS#4729)
authorPierangelo Masarati <ando@openldap.org>
Fri, 3 Nov 2006 00:29:19 +0000 (00:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 3 Nov 2006 00:29:19 +0000 (00:29 +0000)
servers/slapd/overlays/dynlist.c

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