summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-09 04:18:21 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-09 04:18:21 +0000
commit2d52a612d9803d4b96dfdd776bf166fd1476be0d (patch)
treedcaf9daa51e626c2ab6ae89a03934ea43a2288e7 /lib
parentad1b453b24c8079a4a247f37364c158c9b53c7a9 (diff)
downloadllvm-2d52a612d9803d4b96dfdd776bf166fd1476be0d.tar.gz
llvm-2d52a612d9803d4b96dfdd776bf166fd1476be0d.tar.bz2
llvm-2d52a612d9803d4b96dfdd776bf166fd1476be0d.tar.xz
Windows/Program.inc: Eliminate the declaration of SetInformationJobObject(). It should be provided with _WIN32_WINNT>=0x0500.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/Windows/Program.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc
index f83ba64a8d..350363cf71 100644
--- a/lib/Support/Windows/Program.inc
+++ b/lib/Support/Windows/Program.inc
@@ -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;