From: NAKAMURA Takumi Date: Wed, 9 Feb 2011 04:18:21 +0000 (+0000) Subject: Windows/Program.inc: Eliminate the declaration of SetInformationJobObject(). It shoul... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2d52a612d9803d4b96dfdd776bf166fd1476be0d;p=oota-llvm.git 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 --- 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;