From: Arran Cudbard-Bell Date: Thu, 20 Apr 2017 22:14:37 +0000 (-0400) Subject: Fix issue where PATCH value is bad X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ec08179809e7cde5f28b70050fa2e22f8d6413;p=thirdparty%2Ffreeradius-server.git Fix issue where PATCH value is bad --- diff --git a/src/lib/ldap/libfreeradius-ldap.h b/src/lib/ldap/libfreeradius-ldap.h index 6660f93d207..eaef2668912 100644 --- a/src/lib/ldap/libfreeradius-ldap.h +++ b/src/lib/ldap/libfreeradius-ldap.h @@ -66,10 +66,12 @@ ldap_create_session_tracking_control LDAP_P(( * Identifiers that are not macros, all evaluate to 0, * which is why this works. */ +#define X 0 #if !defined(LDAP_VENDOR_VERSION_PATCH) || LDAP_VENDOR_VERSION_PATCH == 0 # undef LDAP_VENDOR_VERSION_PATCH # define LDAP_VENDOR_VERSION_PATCH 0 #endif +#undef X /* * For compatibility with other LDAP libraries