Clang: Fix MSVC warning

C4273: 'OutputDebugStringW': inconsistent dll linkage

Change-Id: Iee29998801f2cbc821acdfdfa919e74709e3383b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Orgad Shaneh
2020-11-11 14:04:17 +02:00
committed by Orgad Shaneh
parent 6d7e5eb8d1
commit b7d35fee82

View File

@@ -57,7 +57,7 @@ QString processArguments(QCoreApplication &application)
} }
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
extern "C" void __stdcall OutputDebugStringW(const wchar_t* msg); #include <windows.h>
static void messageOutput(QtMsgType type, const QMessageLogContext &/*context*/, static void messageOutput(QtMsgType type, const QMessageLogContext &/*context*/,
const QString &msg) const QString &msg)
{ {