From: Howard Chu Date: Tue, 16 Mar 2004 01:48:21 +0000 (+0000) Subject: Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~284 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1dc6c053c1ba17bd39fedb503cbd102b4eded879;p=openldap Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST --- diff --git a/libraries/libldap/ppolicy.c b/libraries/libldap/ppolicy.c index b9c5e15ce7..b9c8866c43 100644 --- a/libraries/libldap/ppolicy.c +++ b/libraries/libldap/ppolicy.c @@ -22,6 +22,8 @@ #include "ldap-int.h" +#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST + #define PPOLICY_WARNING 0xa0L #define PPOLICY_ERROR 0xa1L @@ -203,3 +205,5 @@ ldap_passwordpolicy_err2txt( LDAPPasswordPolicyError err ) default: return "Unknown error code"; } } + +#endif /* LDAP_CONTROL_PASSWORDPOLICYREQUEST */