aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/qtcdebugger
diff options
context:
space:
mode:
authorBjörn Schäpers <[email protected]>2022-09-01 21:46:50 +0200
committerBjörn Schäpers <[email protected]>2022-09-02 10:43:45 +0000
commit5aa8c55f144a976c534a780921b3b6ee0c01488c (patch)
tree52759fbd826da5208fba2f6b4d3812c2bfa09a93 /src/tools/qtcdebugger
parent8276bd265bb5440690e58876901c8c70a4f446a6 (diff)
Fix build with MinGW
I honestly can't tell why this is now needed, it seems to be related to an update in the MinGW headers since I couldn't build previous versions of the creator anymore too. This pattern is already often used. Change-Id: I81adfa2dc8fb4606b0b47a4ade5d1f5db054df9a Reviewed-by: hjk <[email protected]> Reviewed-by: Cristian Adam <[email protected]>
Diffstat (limited to 'src/tools/qtcdebugger')
-rw-r--r--src/tools/qtcdebugger/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/qtcdebugger/main.cpp b/src/tools/qtcdebugger/main.cpp
index 67ab39d5fed..b8b233cb609 100644
--- a/src/tools/qtcdebugger/main.cpp
+++ b/src/tools/qtcdebugger/main.cpp
@@ -23,6 +23,9 @@
#include <registryaccess.h>
+#ifdef QTCREATOR_PCH_H
+#define CALLBACK WINAPI
+#endif
#include <windows.h>
#include <psapi.h>