| 58 | #include <windows.h> |
| 59 | |
| 60 | inline std::wstring convert(const char* c) |
| 61 | { |
| 62 | std::string s(c); |
| 63 | |
| 64 | return std::wstring(s.begin(), s.end()); |
| 65 | } |
| 66 | |
| 67 | // Note: these three setenv* functions are not general solutions for the missing |
| 68 | // setenv* problem on VC++. See Microsoft's _putenv for that need, and ticker #7018 |