Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST

This commit is contained in:
Howard Chu 2004-03-16 01:48:21 +00:00
parent 2f86087e56
commit 1dc6c053c1

View File

@ -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 */