[evolution-data-server] WinLDAP does not define that LDAP_RES_RENAME, so check openldap and do



commit 2b3f0b60810b10b3e92683a7849fd3a247246b4a
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Fri Jun 12 15:31:51 2009 +0200

    WinLDAP does not define that LDAP_RES_RENAME, so check openldap and do
    what they do.

 addressbook/backends/ldap/e-book-backend-ldap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/backends/ldap/e-book-backend-ldap.c b/addressbook/backends/ldap/e-book-backend-ldap.c
index 09314e8..c4c01e4 100644
--- a/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -49,6 +49,7 @@
 #include <windows.h>
 #undef interface
 #include <winldap.h>
+#define LDAP_RES_RENAME LDAP_RES_MODRDN
 #include "openldap-extract.h"
 
 /* map between the WinLDAP API and OpenLDAP API */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]