On 07.09.2013 17:32, Nick Zitzmann wrote:
I'm pretty sure lines 90-91 of lib/ldap.c is the culprit:

===
#undef LDAPURLDesc
#define LDAPURLDesc CURL_LDAPURLDesc
===

#undef doesn't work on typedef'd data structures, and LDAPURLDesc is
declared as a typedef struct on Mountain Lion's built-in libldap.

yep, same with NetWare - from ldap.h:
/*
 * types for ldap URL handling
 */
typedef struct ldap_url_desc {
        struct ldap_url_desc *lud_next;
        char    *lud_scheme;
        char    *lud_host;
        int             lud_port;
        char    *lud_dn;
        char    **lud_attrs;
        int             lud_scope;
        char    *lud_filter;
        char    **lud_exts;
        int             lud_crit_exts;
} LDAPURLDesc;

Gün.


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to