projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to link against openldap on Windows, too
[quassel.git]
/
src
/
core
/
ldapauthenticator.cpp
diff --git
a/src/core/ldapauthenticator.cpp
b/src/core/ldapauthenticator.cpp
index
90b7e89
..
5b62b89
100644
(file)
--- a/
src/core/ldapauthenticator.cpp
+++ b/
src/core/ldapauthenticator.cpp
@@
-32,8
+32,14
@@
#include "network.h"
#include "quassel.h"
#include "network.h"
#include "quassel.h"
-// Link against LDAP.
+/* We should use openldap on windows if at all possible, rather than trying to
+ * write some kind of compatiblity routine.
+#ifdef Q_CC_MSVC
+#include <windows.h>
+#include <winldap.h>
+#else*/
#include <ldap.h>
#include <ldap.h>
+//#endif
LdapAuthenticator::LdapAuthenticator(QObject *parent)
: Authenticator(parent),
LdapAuthenticator::LdapAuthenticator(QObject *parent)
: Authenticator(parent),