Put Windows NTLM stuff inside consistent preprocessor directives.
authorJanne Anttila <janne.anttila@digia.com>
Thu, 24 May 2012 12:51:48 +0000 (15:51 +0300)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jun 2012 13:19:10 +0000 (15:19 +0200)
commit6ddd8f6bd9beec1e408ed5dff5d8cb988f0fbd40
tree1133030b65744acc21f9cbdca70199e1ad48ddeb
parent79194978cdb8770a06648a85eddbefe9acad7b77
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>
src/network/kernel/qauthenticator.cpp
src/network/kernel/qauthenticator_p.h