aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4dateobject.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-10-25 12:09:52 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-10-25 20:10:59 +0200
commit5aa0a4f722b46f90d42c61480da30ac2e3405755 (patch)
tree97d0421f635b7240e268ea8c8688484c1cfd4880 /src/qml/jsruntime/qv4dateobject.cpp
parent9ec55bb0c7df7c6edbcbdca4669594fffaef16f3 (diff)
Replace all includes of windows.h with qt_windows.h
We don't want min and max to be macros. Change-Id: Ifa79eaecf00c9f8b9c61494aa9d883eebfdabc65 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4dateobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp
index 3b8c95009a..492312090d 100644
--- a/src/qml/jsruntime/qv4dateobject.cpp
+++ b/src/qml/jsruntime/qv4dateobject.cpp
@@ -95,7 +95,7 @@
// QDateTime already included above
#else
# ifdef Q_OS_WIN
-# include <windows.h>
+# include <qt_windows.h>
# else
# ifndef Q_OS_VXWORKS
# include <sys/time.h>