mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Cygwin can't determine process name using winapi.
This commit is contained in:
parent
3f0bd793fd
commit
f8e7f7ed83
@ -31,7 +31,7 @@ namespace tracy
|
||||
|
||||
static const char* GetProcessName()
|
||||
{
|
||||
#if defined _MSC_VER || defined __CYGWIN__
|
||||
#if defined _MSC_VER
|
||||
static char buf[_MAX_PATH];
|
||||
GetModuleFileNameA( nullptr, buf, _MAX_PATH );
|
||||
const char* ptr = buf;
|
||||
|
Loading…
Reference in New Issue
Block a user