refactor(platform): make remaining POSIX assumptions explicit
This commit is contained in:
1 parent
1a4c062021
commit
b8c362917f
6 files changed
+26
-1
No files matched your search
@@ -838,7 +838,11 @@ int execute_workspace(BuildCmdOptions opts, bool run_tests) {
|
||||
}
|
||||
member_dirs[member.name] = canonical;
|
||||
const std::string env_name = "VBS_WORKSPACE_MEMBER_" + member.name;
|
||||
#if defined(_WIN32)
|
||||
(void)_putenv_s(env_name.c_str(), canonical.c_str());
|
||||
#else
|
||||
(void)::setenv(env_name.c_str(), canonical.c_str(), 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
std::set<std::string> selected;
|
||||
|
||||
Reference in new issue
Block a user