summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-05-27 13:52:53 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-27 12:41:52 +0000
commit0a07f9528c56615a38b305e8ba8b8b9dc433f260 (patch)
tree7c72353c822a9da343323df5f83eaf6230d51e2d /src/gui/opengl
parentaf4e8e21f8a32f0eb463423f6808eb431a9afe71 (diff)
Never include windows.h directly in Qt code
Please use qt_windows.h instead, so we avoid having min/max defined. Change-Id: Ic1b29666c427bf24556da5494af45ee5953ae827 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r--src/gui/opengl/qopenglext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglext.h b/src/gui/opengl/qopenglext.h
index e3f9205619..8264f9d357 100644
--- a/src/gui/opengl/qopenglext.h
+++ b/src/gui/opengl/qopenglext.h
@@ -44,7 +44,7 @@ extern "C" {
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
-#include <windows.h>
+#include <qt_windows.h>
#endif
#ifndef APIENTRY