Skip to content

Commit

Permalink
Fix popen redef error and remove old mingw as it doesn't have popen.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Mar 26, 2019
1 parent e50286f commit c7c1d19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
TEST_TOOLSET: msvc
- TOOLSET: mingw
CXX: C:\MinGW\bin\g++.exe
TEST_TOOLSET: gcc
CXX_PATH: C:\MinGW\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: mingw
CXX: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw64\bin\g++.exe
CXX: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin\g++.exe
TEST_TOOLSET: gcc
CXX_PATH: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
Expand Down
2 changes: 2 additions & 0 deletions src/engine/builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,9 @@ PyObject * bjam_caller( PyObject * self, PyObject * args )
#ifdef HAVE_POPEN

#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW64__) || defined(__MINGW32__)
#undef popen
#define popen windows_popen_wrapper
#undef pclose
#define pclose _pclose

/*
Expand Down

0 comments on commit c7c1d19

Please sign in to comment.