1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-09 16:49: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> #include <ldap.h>
#else #else
#include <winldap.h> #include <winldap.h>
#include <winber.h>
#ifndef LDAP_OPT_SUCCESS
#define LDAP_OPT_SUCCESS LDAP_SUCCESS
#endif
#endif #endif
#endif #endif
@@ -1557,7 +1561,7 @@ ccnet_user_manager_filter_emailusers_by_emails(CcnetUserManager *manager,
g_free (copy); g_free (copy);
g_string_free (sql, TRUE); g_string_free (sql, TRUE);
return g_list_reverse (ret); return g_list_reverse (ret);
} }
#endif #endif