From 1dc6c053c1ba17bd39fedb503cbd102b4eded879 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 16 Mar 2004 01:48:21 +0000 Subject: [PATCH] Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST --- libraries/libldap/ppolicy.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.39.5