diff options
Diffstat (limited to 'sources/pyside2/PySide2/global.h.in')
-rw-r--r-- | sources/pyside2/PySide2/global.h.in | 1 |
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 |