mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Restore process name retrieval on cygwin.
This commit is contained in:
parent
96ce90c6ed
commit
fb46b3cf24
@ -66,7 +66,7 @@ static const char* GetProcessName()
|
||||
auto buf = getprogname();
|
||||
if( buf ) return buf;
|
||||
# endif
|
||||
#elif defined _GNU_SOURCE
|
||||
#elif defined _GNU_SOURCE || defined __CYGWIN__
|
||||
return program_invocation_short_name;
|
||||
#endif
|
||||
return "unknown";
|
||||
|
Loading…
Reference in New Issue
Block a user