From f8e7f7ed838f5e808e25c280d5051d1784d14673 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 4 Oct 2017 01:22:22 +0200 Subject: [PATCH] Cygwin can't determine process name using winapi. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 31ab3693..2f377067 100755 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -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;