From 2f7d79adba05218d75b7a09bdbbaaa7ae28ec06e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 16 Jun 2021 00:52:12 +0200 Subject: [PATCH] No _alloca() on cygwin. --- common/TracySystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index f7d4de94..dee46955 100644 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -241,7 +241,7 @@ TRACY_API const char* GetThreadName( uint64_t id ) TRACY_API const char* GetEnvVar( const char* name ) { -#if defined _WIN32 || defined __CYGWIN__ +#if defined _WIN32 // unfortunately getenv() on Windows is just fundamentally broken. It caches the entire // environment block once on startup, then never refreshes it again. If any environment // strings are added or modified after startup of the CRT, those changes will not be