]> granicus.if.org Git - apache/commitdiff
change r1500483 to only be enabled when building against the MS LDAP SDK.
authorEric Covener <covener@apache.org>
Wed, 18 Dec 2013 02:05:50 +0000 (02:05 +0000)
committerEric Covener <covener@apache.org>
Wed, 18 Dec 2013 02:05:50 +0000 (02:05 +0000)
Guenter, please verify this still works for you.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551802 13f79535-47bb-0310-9956-ffa450edef68

include/util_ldap.h

index 5cf9d519d2c294a328f91381d0ae2eaebcaadaf2..1dc0ee2bd16bfbf7a82d2406513f37727ed3425a 100644 (file)
@@ -83,7 +83,7 @@
 #define LDAP_DECLARE_DATA             __declspec(dllimport)
 #endif
 
-#ifdef WIN32
+#if APR_HAS_MICROSOFT_LDAPSDK
 #define timeval l_timeval
 #endif