1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-09 00:29:13 +00:00

Fixed ldap on msys2.

This commit is contained in:
Shuai Lin
2016-12-23 18:07:47 +08:00
parent 8104472abb
commit f5f4e9e4a9

View File

@@ -25,6 +25,10 @@
#include <ldap.h>
#else
#include <winldap.h>
#include <winber.h>
#ifndef LDAP_OPT_SUCCESS
#define LDAP_OPT_SUCCESS LDAP_SUCCESS
#endif
#endif
#endif
@@ -1557,7 +1561,7 @@ ccnet_user_manager_filter_emailusers_by_emails(CcnetUserManager *manager,
g_free (copy);
g_string_free (sql, TRUE);
return g_list_reverse (ret);
}
#endif