mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Get proper program name on BSD.
This commit is contained in:
parent
7940977dba
commit
c79449a6a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user