mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-09-10 07:45:09 -04:00
Fix cross-compiling with mingw toolchain
This commit is contained in:
parent
4025693dec
commit
1a2a432f95
@ -61,7 +61,7 @@ Documentation for C++ subprocessing libraray.
|
||||
|
||||
extern "C" {
|
||||
#ifdef __USING_WINDOWS__
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#include <io.h>
|
||||
#include <cwchar>
|
||||
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user