diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 7edc92f3..f6b1346f 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -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";