Skip to content

Commit

Permalink
Do not redefine popen/pclose on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
erenon authored and spektrof committed Jun 21, 2023
1 parent 4e90b6b commit 9dad05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/IntegrationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ std::string extension()

std::string executePipeline(std::string cmd)
{
#ifdef _WIN32
#ifdef _MSC_VER
#define popen(command, mode) _popen(command, mode)
#define pclose(stream) _pclose(stream)

Expand Down

0 comments on commit 9dad05b

Please sign in to comment.