summarylogtreecommitdiffstats
path: root/0018-Fix-Android-build-after-ec2e3e7ac92d000e0df0c693b9a6.patch
blob: f70477635993dffdaebd08ab03ffa836624a8fb2 (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
From c122876cd248322ed9101b45da376e5535300de4 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Fri, 9 May 2025 22:26:39 +0200
Subject: [PATCH 18/24] Fix Android build after
 ec2e3e7ac92d000e0df0c693b9a636390d34a9eb

Change-Id: I02563b129a949c36aff91a4645b6ee10a8cfba2c
---
 src/corelib/global/qlogging.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp
index 8021af7e4fd..4c1e023be97 100644
--- a/src/corelib/global/qlogging.cpp
+++ b/src/corelib/global/qlogging.cpp
@@ -204,7 +204,7 @@ static bool isFatal(QtMsgType msgType)
     return false;
 }
 
-#if defined(Q_OS_LINUX) || defined(Q_OS_DARWIN) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
+#if (defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID)) || defined(Q_OS_DARWIN) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
 static bool qt_append_thread_name_to(QString &message)
 {
     std::array<char, 16> name{};
-- 
2.54.0