summaryrefslogtreecommitdiffstats
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
commit2946e07557917b2a353783c4e8eee01092f1bd20 (patch)
tree882459f141f8140516b24b94c31f951516126e1b
parentcbf49a803c2902f83899680de0eb3c4ae8e7c195 (diff)
downloadbcm5719-llvm-2946e07557917b2a353783c4e8eee01092f1bd20.tar.gz
bcm5719-llvm-2946e07557917b2a353783c4e8eee01092f1bd20.zip
Fix mingw32 build
llvm-svn: 35177
-rw-r--r--llvm/lib/System/Win32/Program.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/Program.inc b/llvm/lib/System/Win32/Program.inc
index 7cc14a24d4d..60e9e419abb 100644
--- a/llvm/lib/System/Win32/Program.inc
+++ b/llvm/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,
OpenPOWER on IntegriCloud