--- 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