summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qcoffpeparser.cpp
diff options
context:
space:
mode:
authorCarlo Bramini <carlo_bramini@users.sourceforge.net>2025-01-02 01:47:06 +0100
committerCarlo Bramini <carlo_bramini@users.sourceforge.net>2025-03-07 14:11:50 +0100
commit05d090b8e78aa76c27aa1520fe0c9562bb9b057a (patch)
tree0f754fa7d93409a75dd7429f47acb7235065842c /src/corelib/plugin/qcoffpeparser.cpp
parentb98c251bface150ae5edc3c8c27db0274ca9f52e (diff)
Corelib: implement support for COFF-PE & DLLs in CYGWIN
Much of the code was already implemented for WIN32. The patch adds relevant code and implements few exceptions for CYGWIN. Change-Id: I0621075a8a989f64a4c2391d25220ef1686342d8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin/qcoffpeparser.cpp')
-rw-r--r--src/corelib/plugin/qcoffpeparser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/plugin/qcoffpeparser.cpp b/src/corelib/plugin/qcoffpeparser.cpp
index 64c29035840..8fef53a41a5 100644
--- a/src/corelib/plugin/qcoffpeparser.cpp
+++ b/src/corelib/plugin/qcoffpeparser.cpp
@@ -9,6 +9,9 @@
#include <optional>
+// Include minimal set of headers
+#define WIN32_LEAN_AND_MEAN
+#define NOGDI
#include <qt_windows.h>
QT_BEGIN_NAMESPACE