qtcreator: patch for musl
This commit is contained in:
parent
d9977d4feb
commit
c9ba6435d1
11
srcpkgs/qtcreator/patches/musl.patch
Normal file
11
srcpkgs/qtcreator/patches/musl.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/src/libs/nanotrace/nanotracehr.cpp
|
||||
+++ b/src/libs/nanotrace/nanotracehr.cpp
|
||||
@@ -91,7 +91,7 @@ std::string getThreadName()
|
||||
{
|
||||
std::array<char, 200> buffer;
|
||||
buffer[0] = 0;
|
||||
-#ifdef Q_OS_UNIX
|
||||
+#ifdef __GLIBC__
|
||||
auto rc = pthread_getname_np(pthread_self(), buffer.data(), buffer.size());
|
||||
if (rc != 0)
|
||||
return {};
|
Loading…
x
Reference in New Issue
Block a user