mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-02 09:33:59 +00:00
Unbreak mingw32 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2ee99620f
commit
349ec1c11b
@ -98,6 +98,14 @@ static HANDLE RedirectIO(const Path *path, int fd, std::string* ErrMsg) {
|
||||
return h;
|
||||
}
|
||||
|
||||
#ifdef __MINGW32__
|
||||
// Due to unknown reason, mingw32's w32api doesn't have this declaration.
|
||||
BOOL WINAPI SetInformationJobObject(HANDLE hJob,
|
||||
JOBOBJECTINFOCLASS JobObjectInfoClass,
|
||||
LPVOID lpJobObjectInfo,
|
||||
DWORD cbJobObjectInfoLength);
|
||||
#endif
|
||||
|
||||
int
|
||||
Program::ExecuteAndWait(const Path& path,
|
||||
const char** args,
|
||||
|
Loading…
x
Reference in New Issue
Block a user