| 42 | } |
| 43 | |
| 44 | static void set(const std::string &name, const std::string &value) |
| 45 | { |
| 46 | #ifdef _WIN32 |
| 47 | _putenv_s(name.c_str(), value.c_str()); |
| 48 | #else |
| 49 | ::setenv(name.c_str(), value.c_str(), 1); |
| 50 | #endif |
| 51 | } |
| 52 | |
| 53 | static void unset(const std::string &name) |
| 54 | { |
no outgoing calls
no test coverage detected