aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/terminalhooks.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2024-02-27 16:08:45 +0100
committerEike Ziller <[email protected]>2024-02-28 08:09:05 +0000
commit5af531cd39067366cea627e3db1a0b83d7172873 (patch)
tree0759f3fe9a1924ebdc312d506162b90e21a90ca9 /src/libs/utils/terminalhooks.cpp
parenta8414effd8ff6cd9c32c8466950ac3b9b9561524 (diff)
Utils: Fix build with MSVC with C++20
Rename process.h back to qtcprocess.h MSVC's "threads" standard header includes <process.h>, and that ends up including our process.h from Utils. There already was a hacky workaround in place for a similar issue with MINGW, but that doesn't work with MSVC because that doesn't have Simply use a name that doesn't conflict. Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: <[email protected]> Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/libs/utils/terminalhooks.cpp')
-rw-r--r--src/libs/utils/terminalhooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/terminalhooks.cpp b/src/libs/utils/terminalhooks.cpp
index 52bcc056295..3e5151e6f39 100644
--- a/src/libs/utils/terminalhooks.cpp
+++ b/src/libs/utils/terminalhooks.cpp
@@ -5,7 +5,7 @@
#include "externalterminalprocessimpl.h"
#include "filepath.h"
-#include "process.h"
+#include "qtcprocess.h"
#include "utilstr.h"
#include <QMutex>