Skip to content

Commit

Permalink
Merge pull request #297 from osrf/sdf6_popen_win_fix
Browse files Browse the repository at this point in the history
Patch popen/pclose method for Windows
  • Loading branch information
j-rivero authored Jun 12, 2020
2 parents 530a856 + 40ded2a commit c6748a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ign_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
#include "sdf/sdf_config.h"
#include "test_config.h"

#ifdef _WIN32
#define popen _popen
#define pclose _pclose
#endif

static const std::string g_sdfVersion(" --force-version " +
std::string(SDF_VERSION_FULL));
static const std::string g_ignCommand(std::string(IGN_PATH) + "/ign");
Expand Down

0 comments on commit c6748a3

Please sign in to comment.