From 73e572b66bd5b233dbbf15cadf3256a8bb98f733 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Fri, 11 Feb 2022 22:17:38 +0300 Subject: [PATCH] disable thread naming for PowerPC (#1726) Signed-off-by: R4SAS --- libi2pd/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/util.cpp b/libi2pd/util.cpp index ad957d0b..d548c9d4 100644 --- a/libi2pd/util.cpp +++ b/libi2pd/util.cpp @@ -123,7 +123,7 @@ namespace util } void SetThreadName (const char *name) { -#if defined(__APPLE__) +#if defined(__APPLE__) && !defined(__powerpc__) pthread_setname_np((char*)name); #elif defined(__FreeBSD__) || defined(__OpenBSD__) pthread_set_name_np(pthread_self(), name);