Blame SOURCES/openldap-compat-macros.patch

5fcfe9
--- openldap-2.3.43/libraries/libldap/os-ip.c.orig	2010-05-06 13:48:15.000000000 +0200
5fcfe9
+++ openldap-2.3.43/libraries/libldap/os-ip.c	2010-05-06 13:48:23.000000000 +0200
5fcfe9
@@ -652,7 +652,7 @@ ldap_host_connected_to( Sockbuf *sb, con
5fcfe9
 		char *herr;
5fcfe9
 #ifdef NI_MAXHOST
5fcfe9
 		char hbuf[NI_MAXHOST];
5fcfe9
-#elif defined( MAXHOSTNAMELEN
5fcfe9
+#elif defined( MAXHOSTNAMELEN )
5fcfe9
 		char hbuf[MAXHOSTNAMELEN];
5fcfe9
 #else
5fcfe9
 		char hbuf[256];
5fcfe9
--- openldap-2.3.43/include/ldap_pvt_thread.h.orig	2010-05-06 14:35:45.000000000 +0200
5fcfe9
+++ openldap-2.3.43/include/ldap_pvt_thread.h	2010-05-06 14:36:08.000000000 +0200
5fcfe9
@@ -61,9 +61,11 @@ ldap_pvt_thread_set_concurrency LDAP_P((
5fcfe9
 	/* LARGE stack. Will be twice as large on 64 bit machine. */
5fcfe9
 #define LDAP_PVT_THREAD_STACK_SIZE	( 1 * 1024 * 1024 * sizeof(void *) )
5fcfe9
 /* May be explicitly defined to zero to disable it */
5fcfe9
-#elif LDAP_PVT_THREAD_STACK_SIZE == 0
5fcfe9
+#else
5fcfe9
+#if LDAP_PVT_THREAD_STACK_SIZE == 0
5fcfe9
 #undef LDAP_PVT_THREAD_SET_STACK_SIZE
5fcfe9
 #endif
5fcfe9
+#endif
5fcfe9
 #endif /* !LDAP_PVT_THREAD_H_DONE */
5fcfe9
 
5fcfe9
 LDAP_F( int )