summaryrefslogtreecommitdiffstats
path: root/src/tools/tracegen
diff options
context:
space:
mode:
authorYuhang Zhao <[email protected]>2021-11-19 13:05:38 +0800
committerYuhang Zhao <[email protected]>2021-11-23 12:53:46 +0800
commite01c25e85962dcb12cd6faae4c07d62a84c39e6f (patch)
tree3bf5f20608b617526b73a5ebc69ab9fc16b605dd /src/tools/tracegen
parent4c7759cae28493f492308d9e91ab5399fab89416 (diff)
QtBase: replace windows.h with qt_windows.h
We have some special handling in qt_windows.h, use it instead of the original windows.h Change-Id: I12fa45b09d3f2aad355573dce45861d7d28e1d77 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]> Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/tools/tracegen')
-rw-r--r--src/tools/tracegen/etw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tracegen/etw.cpp b/src/tools/tracegen/etw.cpp
index b17d54bf529..8b0b7bf8881 100644
--- a/src/tools/tracegen/etw.cpp
+++ b/src/tools/tracegen/etw.cpp
@@ -129,7 +129,7 @@ static void writePrologue(QTextStream &stream, const QString &fileName, const Pr
stream << "#ifndef " << guard << "\n"
<< "#define " << guard << "\n"
<< "\n"
- << "#include <windows.h>\n"
+ << "#include <qt_windows.h>\n"
<< "#include <TraceLoggingProvider.h>\n"
<< "\n";