summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-05-18 11:22:37 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-05-18 11:22:37 +0200
commit294f036a119766d64d88ee5a36f10e364dd80e1f (patch)
tree3bde85f7ae46100d9e22c882d6253b42e8824930
parent883d58dacdcddc3f383565251f3c805a20e3d704 (diff)
parent6eef81ee1c82f934e14d47047d8b6103b8755321 (diff)
Merge remote-tracking branch 'origin/5.11.0' into 5.11
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index b8cf42a2e9..be6ce48d0c 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -114,6 +114,8 @@ static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newp
# if !QT_CONFIG(statx) && defined(SYS_statx)
static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf)
{ return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); }
+# elif !QT_CONFIG(statx) && !defined(SYS_statx)
+# undef STATX_BASIC_STATS
# endif
# endif // !Q_OS_ANDROID
#endif