mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
setenv is not part of the MinGW Windows CRT. The test sets the variable for the process, which PadIdentify.hpp reads with std::getenv. SDL_setenv calls SetEnvironmentVariableA on Windows, which does not update the CRT table that std::getenv reads, so _putenv_s is used there. Linux keeps setenv.