]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix issue where PATCH value is bad
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 20 Apr 2017 22:14:37 +0000 (18:14 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 20 Apr 2017 22:25:55 +0000 (18:25 -0400)
src/lib/ldap/libfreeradius-ldap.h

index 6660f93d20736ff157c619a9c696fbb858b5993f..eaef26689123742826d5aa8839ca62793e4c8da4 100644 (file)
@@ -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