mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
No _alloca() on cygwin.
This commit is contained in:
parent
50e0d4781b
commit
2f7d79adba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user