Skip to content

Commit

Permalink
build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder authored and Petr Viktorin committed Nov 22, 2017
1 parent aedfdd1 commit 98181de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/LDAPObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

#include "lber.h"
#include "ldap.h"
#if LDAP_API_VERSION < 2000
#error Current python-ldap requires OpenLDAP 2.x
#if LDAP_API_VERSION < 2040
#error Current python-ldap requires OpenLDAP 2.4.x
#endif

#if PYTHON_API_VERSION < 1007
Expand Down

0 comments on commit 98181de

Please sign in to comment.