projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ee996
)
Unbreak mingw32 build
author
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 9 Mar 2007 11:53:34 +0000
(11:53 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 9 Mar 2007 11:53:34 +0000
(11:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35042
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Program.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Program.inc
b/lib/System/Win32/Program.inc
index 0d870dc4a3592fa1fa53dc423255119119038802..7cc14a24d4dcc16037a5cc915da8904fe86bc5c6 100644
(file)
--- a/
lib/System/Win32/Program.inc
+++ b/
lib/System/Win32/Program.inc
@@
-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,