Skip to content

Commit 627fa9a

Browse files
committed
Fix LDAP_VENDOR_VERSION check
1 parent b6ae30d commit 627fa9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <ldap.h>
1717
#include <ldap_features.h>
1818

19-
#if LDAP_API_VERSION < 2040
19+
#if LDAP_VENDOR_VERSION < 20400
2020
#error Current python-ldap requires OpenLDAP 2.4.x
2121
#endif
2222

0 commit comments

Comments
 (0)