diff --git a/src/Platform.c b/src/Platform.c index 52299db..9d25fee 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -81,6 +81,8 @@ void* ThreadProc(void* context) { setThreadNameWin32(ctx->name); #elif defined(__linux__) pthread_setname_np(pthread_self(), ctx->name); +#elif defined(LC_DARWIN) + pthread_setname_np(ctx->name); #endif ctx->entry(ctx->context);