mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 09:47:36 +00:00
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
|
From 92ba295ee64a55c73c8a32b77c352a6181289fe8 Mon Sep 17 00:00:00 2001
|
||
|
From: tobtoht <tob@featherwallet.org>
|
||
|
Date: Sun, 30 Oct 2022 23:15:34 +0100
|
||
|
Subject: [PATCH] no renameat2
|
||
|
|
||
|
---
|
||
|
qtbase/src/corelib/configure.cmake | 2 --
|
||
|
qtbase/src/corelib/global/qconfig-bootstrapped.h | 4 ----
|
||
|
2 files changed, 6 deletions(-)
|
||
|
|
||
|
diff --git a/qtbase/src/corelib/configure.cmake b/qtbase/src/corelib/configure.cmake
|
||
|
index 183decb530..f8e9ad0e87 100644
|
||
|
--- a/qtbase/src/corelib/configure.cmake
|
||
|
+++ b/qtbase/src/corelib/configure.cmake
|
||
|
@@ -434,8 +434,6 @@ qt_config_compile_test(renameat2
|
||
|
LABEL "renameat2()"
|
||
|
CODE
|
||
|
"#define _ATFILE_SOURCE 1
|
||
|
-#include <fcntl.h>
|
||
|
-#include <stdio.h>
|
||
|
|
||
|
int main(int, char **argv)
|
||
|
{
|
||
|
diff --git a/qtbase/src/corelib/global/qconfig-bootstrapped.h b/qtbase/src/corelib/global/qconfig-bootstrapped.h
|
||
|
index 61fd6479b1..06d06235d5 100644
|
||
|
--- a/qtbase/src/corelib/global/qconfig-bootstrapped.h
|
||
|
+++ b/qtbase/src/corelib/global/qconfig-bootstrapped.h
|
||
|
@@ -74,11 +74,7 @@
|
||
|
#define QT_NO_QOBJECT
|
||
|
#define QT_FEATURE_process -1
|
||
|
#define QT_FEATURE_regularexpression 1
|
||
|
-#ifdef __GLIBC_PREREQ
|
||
|
-# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1)
|
||
|
-#else
|
||
|
# define QT_FEATURE_renameat2 -1
|
||
|
-#endif
|
||
|
#define QT_FEATURE_shortcut -1
|
||
|
#define QT_FEATURE_signaling_nan -1
|
||
|
#define QT_FEATURE_slog2 -1
|
||
|
--
|
||
|
2.38.1
|
||
|
|