Fix mingw32 build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2007-03-19 20:19:08 +00:00
parent 3718050bb5
commit d437db1b7b

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,