aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/global.h.in
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-05-18 11:10:32 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-05-29 09:46:23 +0000
commitb814f865c0618faaaacb710bd0e8eb2804aaed00 (patch)
tree164e3381c00407b4500ba17a20cd980b470bc714 /sources/pyside2/PySide2/global.h.in
parentb72e4d6bcfb1335ee6dcad9ab30e429b62b8e6e1 (diff)
Add QtCharts
Task-number: PYSIDE-487 Change-Id: I742d0fe52da22a06ca04069b6e0094d1913cc187 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/global.h.in')
-rw-r--r--sources/pyside2/PySide2/global.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/global.h.in b/sources/pyside2/PySide2/global.h.in
index 3422f0d6e..b8ac01bba 100644
--- a/sources/pyside2/PySide2/global.h.in
+++ b/sources/pyside2/PySide2/global.h.in
@@ -73,6 +73,7 @@
#ifndef QT_NO_OPENGL
// Define export macros for Windows' gl.h
# ifdef Q_OS_WIN
+# define NOMINMAX // windows.h is pulled, sanitize
# ifndef APIENTRY
# define APIENTRY
# endif