r6137 breaks Windows build due to inclusion of process.h
|Reported by:||Ken Hornstein||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:|
I'm using the version of MinGW specified in the build notes for Windows. As part of r6137, a process.h was included in FileZilla 3; this conflicts with the process.h that is shipped with MinGW, causing the build to fail (it fails with a bunch of undefined symbols; the root cause here is pthread.h is including process.h, picking up the FileZilla one instead of the MinGW one and causing the errors).
I renamed the FileZilla process.h to fzprocess.h and changed the include files everywhere, and that seemed to solve the problem.