[llvm-commits] CVS: llvm/lib/System/Win32/Program.inc
Anton Korobeynikov
asl at math.spbu.ru
Fri Mar 9 03:53:51 PST 2007
Changes in directory llvm/lib/System/Win32:
Program.inc updated: 1.21 -> 1.22
---
Log message:
Unbreak mingw32 build
---
Diffs of the changes: (+8 -0)
Program.inc | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/lib/System/Win32/Program.inc
diff -u llvm/lib/System/Win32/Program.inc:1.21 llvm/lib/System/Win32/Program.inc:1.22
--- llvm/lib/System/Win32/Program.inc:1.21 Sun Mar 4 23:45:08 2007
+++ llvm/lib/System/Win32/Program.inc Fri Mar 9 05:53:34 2007
@@ -98,6 +98,14 @@
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,
More information about the llvm-commits
mailing list