summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows/Program.inc
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
commit28242e8ff67db4d5f5399edd390eef666d21ed9d (patch)
tree0a8cb79378a13059cd0e33740598d9527432be90 /llvm/lib/Support/Windows/Program.inc
parent684ef5e7bd45df038e08131f8dff07efa1667208 (diff)
downloadbcm5719-llvm-28242e8ff67db4d5f5399edd390eef666d21ed9d.tar.gz
bcm5719-llvm-28242e8ff67db4d5f5399edd390eef666d21ed9d.zip
Windows/Program.inc: Eliminate the declaration of SetInformationJobObject(). It should be provided with _WIN32_WINNT>=0x0500.
llvm-svn: 125170
Diffstat (limited to 'llvm/lib/Support/Windows/Program.inc')
-rw-r--r--llvm/lib/Support/Windows/Program.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Support/Windows/Program.inc b/llvm/lib/Support/Windows/Program.inc
index f83ba64a8dd..350363cf710 100644
--- a/llvm/lib/Support/Windows/Program.inc
+++ b/llvm/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;
OpenPOWER on IntegriCloud