From 1a2a432f9595d9bc2c84792a08397fcf48354270 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:29:05 +0000 Subject: [PATCH] Fix cross-compiling with mingw toolchain --- subprocess.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprocess.hpp b/subprocess.hpp index 10c3a87..b38a01c 100755 --- a/subprocess.hpp +++ b/subprocess.hpp @@ -61,7 +61,7 @@ Documentation for C++ subprocessing libraray. extern "C" { #ifdef __USING_WINDOWS__ - #include + #include #include #include @@ -155,7 +155,7 @@ public: //-------------------------------------------------------------------- //Environment Variable types -#ifndef _MSC_VER +#ifndef __USING_WINDOWS__ using env_string_t = std::string; using env_char_t = char; #else