diff --git a/subprocess.hpp b/subprocess.hpp index aa26c02..826cd9c 100755 --- a/subprocess.hpp +++ b/subprocess.hpp @@ -182,6 +182,7 @@ using env_vector_t = std::vector; //-------------------------------------------------------------------- namespace util { +#ifdef __USING_WINDOWS__ inline void quote_argument(const std::wstring &argument, std::wstring &command_line, bool force) { @@ -242,7 +243,6 @@ namespace util } } -#ifdef __USING_WINDOWS__ inline std::string get_last_error(DWORD errorMessageID) { if (errorMessageID == 0)