Windows/Program.inc: Eliminate the declaration of SetInformationJobObject(). It shoul...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 9 Feb 2011 04:18:21 +0000 (04:18 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 9 Feb 2011 04:18:21 +0000 (04:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125170 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/Program.inc

index f83ba64a8ddc8cc7d7d19e4e74752867329a4e60..350363cf7107d4ea2340385774a295c3438e34b2 100644 (file)
 //===          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;