diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-06-16 01:52:12 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-06-16 01:52:12 +0300 |
commit | 2f7d79adba05218d75b7a09bdbbaaa7ae28ec06e (patch) | |
tree | 8510d10b7de235a583bee3466691da5a6ded358f /common | |
parent | 50e0d4781bb825fb15ee021f10da107daca9aafa (diff) |
No _alloca() on cygwin.
Diffstat (limited to 'common')
-rw-r--r-- | common/TracySystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |