diff --git a/src/Platform.c b/src/Platform.c index 7c25fbc..9782e00 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -77,7 +77,7 @@ void* ThreadProc(void* context) { #if defined(LC_WINDOWS) setThreadNameWin32(ctx->name); -#elif defined(__linux__) +#elif defined(__linux__) || defined(__FreeBSD__) pthread_setname_np(pthread_self(), ctx->name); #elif defined(LC_DARWIN) pthread_setname_np(ctx->name);