diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-09 04:18:21 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-09 04:18:21 +0000 |
commit | 2d52a612d9803d4b96dfdd776bf166fd1476be0d (patch) | |
tree | dcaf9daa51e626c2ab6ae89a03934ea43a2288e7 /lib/Support/Windows/Program.inc | |
parent | ad1b453b24c8079a4a247f37364c158c9b53c7a9 (diff) | |
download | external_llvm-2d52a612d9803d4b96dfdd776bf166fd1476be0d.zip external_llvm-2d52a612d9803d4b96dfdd776bf166fd1476be0d.tar.gz external_llvm-2d52a612d9803d4b96dfdd776bf166fd1476be0d.tar.bz2 |
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/Support/Windows/Program.inc')
-rw-r--r-- | lib/Support/Windows/Program.inc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc index f83ba64..350363c 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; |