mcst-linux-kernel/patches-2024.06.26/qt5-5.15.2/0009-lcc-128-compat.patch

13 lines
354 B
Diff

--- qtbase/src/corelib/global/qglobal.h 2020-10-27 08:02:11.000000000 +0000
+++ new/qtbase/src/corelib/global/qglobal.h 2023-12-04 17:16:25.167698924 +0000
@@ -42,6 +42,9 @@
#define QGLOBAL_H
#ifdef __cplusplus
+#if defined(__LCC__) && (__LCC__ >= 128)
+#include <limits>
+#endif
# include <type_traits>
# include <cstddef>
# include <utility>