Fix mingw32 build

llvm-svn: 35177
This commit is contained in:
Anton Korobeynikov 2007-03-19 20:19:08 +00:00
parent cbf49a803c
commit 2946e07557
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ static HANDLE RedirectIO(const Path *path, int fd, std::string* ErrMsg) {
#ifdef __MINGW32__
// Due to unknown reason, mingw32's w32api doesn't have this declaration.
extern "C"
BOOL WINAPI SetInformationJobObject(HANDLE hJob,
JOBOBJECTINFOCLASS JobObjectInfoClass,
LPVOID lpJobObjectInfo,