wine/dlls/wldap32 value.c

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 21 05:57:52 CST 2005


ChangeSet ID:	21351
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/21 05:57:52

Modified files:
	dlls/wldap32   : value.c 

Log message:
	Hans Leidekker <hans at it.vu.nl>
	Fix the build without openldap.

Patch: http://cvs.winehq.org/patch.py?id=21351

Old revision  New revision  Changes     Path
 1.2           1.3           +2 -0       wine/dlls/wldap32/value.c

Index: wine/dlls/wldap32/value.c
diff -u -p wine/dlls/wldap32/value.c:1.2 wine/dlls/wldap32/value.c:1.3
--- wine/dlls/wldap32/value.c:1.2	21 Nov 2005 11:57:52 -0000
+++ wine/dlls/wldap32/value.c	21 Nov 2005 11:57:52 -0000
@@ -117,6 +117,7 @@ PCHAR *ldap_get_valuesA( WLDAP32_LDAP *l
     return ret;
 }
 
+#ifdef HAVE_LDAP
 static char *bv2str( struct berval *bv )
 {
     char *str = NULL;
@@ -163,6 +164,7 @@ static char **bv2str_array( struct berva
     str[i] = NULL;
     return str;
 }
+#endif
 
 PWCHAR *ldap_get_valuesW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, PWCHAR attr )
 {



More information about the wine-cvs mailing list