No _alloca() on cygwin.

This commit is contained in:
Bartosz Taudul 2021-06-16 00:52:12 +02:00
parent 50e0d4781b
commit 2f7d79adba
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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