From d437db1b7b449a96f0bb4d768d590d4861dba012 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Mon, 19 Mar 2007 20:19:08 +0000 Subject: [PATCH] Fix mingw32 build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35177 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Win32/Program.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/System/Win32/Program.inc b/lib/System/Win32/Program.inc index 7cc14a24d4d..60e9e419abb 100644 --- a/lib/System/Win32/Program.inc +++ b/lib/System/Win32/Program.inc @@ -100,6 +100,7 @@ static HANDLE RedirectIO(const Path *path, int fd, std::string* ErrMsg) { #ifdef __MINGW32__ // Due to unknown reason, mingw32's w32api doesn't have this declaration. + extern "C" BOOL WINAPI SetInformationJobObject(HANDLE hJob, JOBOBJECTINFOCLASS JobObjectInfoClass, LPVOID lpJobObjectInfo, -- 2.34.1