Fixed Windows/MSVC compilation.

This commit is contained in:
2024-06-26 10:05:32 +02:00
parent b10f250945
commit b1fa99428e
8 changed files with 41 additions and 5 deletions

View File

@@ -3,9 +3,11 @@
#include <algorithm>
#include <sstream>
#include "../detect.hpp"
#include "../util/iterators.hpp"
#include "../util/string.hpp"
#if MIJIN_TARGET_OS == MIJIN_OS_LINUX || MIJIN_TARGET_OS == MIJIN_OS_OSX
namespace mijin
{
ProcessStream::~ProcessStream()
@@ -173,3 +175,4 @@ std::string makeShellCommand(const std::vector<std::string>& args) noexcept
| Join(" ");
}
} // namespace mijin
#endif // MIJIN_TARGET_OS == MIJIN_OS_LINUX || MIJIN_TARGET_OS == MIJIN_OS_OSX