[llvm-commits] [llvm] r125170 - /llvm/trunk/lib/Support/Windows/Program.inc
NAKAMURA Takumi
geek4civic at gmail.com
Tue Feb 8 20:18:21 PST 2011
Author: chapuni
Date: Tue Feb 8 22:18:21 2011
New Revision: 125170
URL: http://llvm.org/viewvc/llvm-project?rev=125170&view=rev
Log:
Windows/Program.inc: Eliminate the declaration of SetInformationJobObject(). It should be provided with _WIN32_WINNT>=0x0500.
Modified:
llvm/trunk/lib/Support/Windows/Program.inc
Modified: llvm/trunk/lib/Support/Windows/Program.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Program.inc?rev=125170&r1=125169&r2=125170&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Program.inc (original)
+++ llvm/trunk/lib/Support/Windows/Program.inc Tue Feb 8 22:18:21 2011
@@ -22,15 +22,6 @@
//=== and must not be UNIX code
//===----------------------------------------------------------------------===//
-#ifdef __MINGW32__
-// Ancient mingw32's w32api might not have this declaration.
-extern "C"
-BOOL WINAPI SetInformationJobObject(HANDLE hJob,
- JOBOBJECTINFOCLASS JobObjectInfoClass,
- LPVOID lpJobObjectInfo,
- DWORD cbJobObjectInfoLength);
-#endif
-
namespace {
struct Win32ProcessInfo {
HANDLE hProcess;
More information about the llvm-commits
mailing list