diff options
author | Janne Anttila <janne.anttila@digia.com> | 2012-05-24 15:51:48 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-01 15:19:10 +0200 |
commit | 6ddd8f6bd9beec1e408ed5dff5d8cb988f0fbd40 (patch) | |
tree | 1133030b65744acc21f9cbdca70199e1ad48ddeb /src/network/kernel/qauthenticator_p.h | |
parent | 79194978cdb8770a06648a85eddbefe9acad7b77 (diff) |
Put Windows NTLM stuff inside consistent preprocessor directives.
QNtlmWindowsHandles was placed inside Q_OS_WIN in some places and in
other places inside Q_OS_WIN32. It seems that Q_OS_WIN is correct
define everywhere.
In addition placed "InitSecurityInterfaceW" inside L macro to convert
argument to wide characters in WinCE. WinCE GetProcAddress takes
LPCWSTR instead of LPCSTR.
This fixes the QtNetwork build for WEC7, where Q_OS_WIN32 apparently
is not defined. Should it be defined, is another story...
Change-Id: Id309d20c46b66139e2cb2e62349067848d8ebb4e
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/network/kernel/qauthenticator_p.h')
-rw-r--r-- | src/network/kernel/qauthenticator_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qauthenticator_p.h b/src/network/kernel/qauthenticator_p.h index 491e004737..f4736de3e7 100644 --- a/src/network/kernel/qauthenticator_p.h +++ b/src/network/kernel/qauthenticator_p.h @@ -62,7 +62,7 @@ QT_BEGIN_NAMESPACE class QHttpResponseHeader; -#ifdef Q_OS_WIN32 +#ifdef Q_OS_WIN class QNtlmWindowsHandles; #endif |