I was hoping that this wouldn't be the case.  But since it is, take a
look at SVN r149419

Brad

>>> [EMAIL PROTECTED] Tuesday, February 01, 2005 9:39:20 AM >>>
Brad Nicholes wrote:
>    I have already added a new directive to util_ldap called
> LDAPConnectionTimeout (
>
http://httpd.apache.org/docs-2.1/mod/mod_ldap.html#ldapconnectiontimeout

> ) which allows util_ldap to set the network timeout through
> 
> rc = apr_ldap_set_option(p, NULL, LDAP_OPT_NETWORK_TIMEOUT,
>                                  (void *)&timeOut, &(result_err));
> 

IMO this does not exists on WIN32 (at least PSDK does not
declare that), thus mod_ldap breaks on build.

The code should be enclosed inside:
#if defined(LDAP_OPT_NETWORK_TIMEOUT)
....
#endif

Regards,
Mladen

Reply via email to