MinGW provides popen() and pclose()

This commit is contained in:
Andrew Johnson
2016-04-05 18:23:31 -05:00
parent 02656af922
commit b4cfe861d3
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ bool transpose = false;
bool dumpStructure = false;
#ifdef _WIN32
#if defined(_WIN32) && !defined(_MINGW)
FILE *popen(const char *command, const char *mode) {
return _popen(command, mode);
}

View File

@ -25,7 +25,7 @@
#include <pv/remote.h>
#include <pv/rpcClient.h>
#ifdef _WIN32
#if defined(_WIN32) && !defined(_MINGW)
FILE *popen(const char *command, const char *mode) {
return _popen(command, mode);
}