summaryrefslogtreecommitdiff
path: root/lib/System/Win32
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-03-19 20:19:08 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-03-19 20:19:08 +0000
commitd437db1b7b449a96f0bb4d768d590d4861dba012 (patch)
treec2c1c9ebfff1fe68e6e430da53c1464b96bfccf6 /lib/System/Win32
parent3718050bb594704a42f70d006745a938ff3564ce (diff)
downloadllvm-d437db1b7b449a96f0bb4d768d590d4861dba012.tar.gz
llvm-d437db1b7b449a96f0bb4d768d590d4861dba012.tar.bz2
llvm-d437db1b7b449a96f0bb4d768d590d4861dba012.tar.xz
Fix mingw32 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32')
-rw-r--r--lib/System/Win32/Program.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Win32/Program.inc b/lib/System/Win32/Program.inc
index 7cc14a24d4..60e9e419ab 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,