mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-22 18:24:24 +00:00
Restore process name retrieval on cygwin.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user