mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-28 06:35:24 +02:00
15 lines
285 B
Diff
15 lines
285 B
Diff
--- a/src/crispy/utils.cpp
|
|
+++ b/src/crispy/utils.cpp
|
|
@@ -31,8 +31,12 @@
|
|
}
|
|
return ""s;
|
|
#else
|
|
+ #ifdef __GLIBC__
|
|
char text[32] = {};
|
|
pthread_getname_np(pthread_self(), text, sizeof(text));
|
|
return text;
|
|
+ #else
|
|
+ return ""s;
|
|
+ #endif
|
|
#endif
|
|
}
|