From 2d52a612d9803d4b96dfdd776bf166fd1476be0d Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 9 Feb 2011 04:18:21 +0000 Subject: [PATCH] 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 --- lib/Support/Windows/Program.inc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc index f83ba64a8dd..350363cf710 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; -- 2.34.1