blob: ba1279b0ec35aa07099a81d47098a54700ca258e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 392861c14ae65b14f3ddb97062cbfd7c80a115bd Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Mon, 1 Dec 2025 11:28:49 +0100
Subject: [PATCH 21/24] Undefine mingw stat
From MINGW-packages commit e5c4652cad95df5f6435b6c564c52a7ae7d8e5f7.
Change-Id: I2c21a2b4bb46f582a5e694761c94c168e2ca98f7
---
src/corelib/io/qfileinfo.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/corelib/io/qfileinfo.h b/src/corelib/io/qfileinfo.h
index 01e69f62c4d..0bce9fb0abe 100644
--- a/src/corelib/io/qfileinfo.h
+++ b/src/corelib/io/qfileinfo.h
@@ -13,6 +13,10 @@
#include <QtCore/qdatetime.h>
#include <QtCore/qtimezone.h>
+#ifdef stat
+#undef stat
+#endif
+
QT_BEGIN_NAMESPACE
--
2.54.0
|