2
0
mirror of https://github.com/wolfpld/tracy synced 2026-02-03 09:52:09 +00:00

No _alloca() on cygwin.

This commit is contained in:
Bartosz Taudul
2021-06-16 00:52:12 +02:00
parent 50e0d4781b
commit 2f7d79adba

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