aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-04-04 10:59:20 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-04-04 09:03:51 +0000
commit6ee460f2145d52cec508e23b21b833c92ba4fa53 (patch)
treeb8fdd40d97b706b9e9baa8274198c8bab30d4c60
parentc54614c8c066c68e8a3b6573eb0b9a6ee2f7b70d (diff)
Fix build of processlauncher with older Windows SDKs
Change-Id: I6f59c16c5a26ab700496b81c5c9784f679d2db5c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--src/libexec/qbs_processlauncher/processlauncher-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexec/qbs_processlauncher/processlauncher-main.cpp b/src/libexec/qbs_processlauncher/processlauncher-main.cpp
index 4ecc3e660..224e3bf9b 100644
--- a/src/libexec/qbs_processlauncher/processlauncher-main.cpp
+++ b/src/libexec/qbs_processlauncher/processlauncher-main.cpp
@@ -35,7 +35,7 @@
#ifdef Q_OS_WIN
#include <QtCore/qt_windows.h>
-BOOL consoleCtrlHandler(DWORD)
+BOOL WINAPI consoleCtrlHandler(DWORD)
{
// Ignore Ctrl-C / Ctrl-Break. Qbs will tell us to exit gracefully.
return TRUE;