Skip to content
Snippets Groups Projects
Commit 5697bed1 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

anticipate undefined symbols when compiling for 2.2

parent cb291bb9
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,17 @@
/* FIXME: the code differs if SLAP_OPATTRS is defined or not;
* SLAP_OPATTRS is not defined in 2.2 yet, while this overlay
* expects HEAD code at least later than August 6, 2004. */
/* FIXME: slap_anlist_no_attrs was introduced in 2.3; here it
* is anticipated to allow using this overlay with 2.2. */
#if LDAP_VENDOR_VERSION_MINOR != X && LDAP_VENDOR_VERSION_MINOR < 3
static AttributeName anlist_no_attrs[] = {
{ BER_BVC( LDAP_NO_ATTRS ), NULL, 0, NULL },
{ BER_BVNULL, NULL, 0, NULL }
};
static AttributeName *slap_anlist_no_attrs = anlist_no_attrs;
#endif
typedef struct dynlist_info {
ObjectClass *dli_oc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment