mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-09-11 08:16:24 -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" {
|
extern "C" {
|
||||||
#ifdef __USING_WINDOWS__
|
#ifdef __USING_WINDOWS__
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <cwchar>
|
#include <cwchar>
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ public:
|
|||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
|
||||||
//Environment Variable types
|
//Environment Variable types
|
||||||
#ifndef _MSC_VER
|
#ifndef __USING_WINDOWS__
|
||||||
using env_string_t = std::string;
|
using env_string_t = std::string;
|
||||||
using env_char_t = char;
|
using env_char_t = char;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user