diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 4862775e..6231b43b 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -250,7 +250,7 @@ static const char* GetProcessName() # endif #elif defined _GNU_SOURCE || defined __CYGWIN__ processName = program_invocation_short_name; -#elif defined __APPLE__ +#elif defined __APPLE__ || defined BSD auto buf = getprogname(); if( buf ) processName = buf; #endif