summarylogtreecommitdiffstats
path: root/qt-no-statx.patch
blob: 7f50a59dffd4d4f37f5e53b183ea0c9fae2df74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/src/corelib/io/qfilesystemengine_unix.cpp	2018-09-25 20:41:17.721173332 +0200
+++ b/src/corelib/io/qfilesystemengine_unix.cpp	2018-09-25 20:45:38.611149986 +0200
@@ -110,11 +110,11 @@
 { return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
 #    endif
 
-#    if !QT_CONFIG(statx) && defined(SYS_statx)
+#    if 0
 #      include <linux/stat.h>
 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)
+#    elif 1
 #      undef STATX_BASIC_STATS
 #    endif
 #  endif // !Q_OS_ANDROID