From: Benjamin Kramer Date: Fri, 7 Feb 2014 12:05:36 +0000 (+0000) Subject: Try to unbreak the mingw32 build. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c3261b3120f15d33711871f86e25005a4075448b;p=oota-llvm.git Try to unbreak the mingw32 build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200973 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc index 16e4092e9fa..62b6da0cb1b 100644 --- a/lib/Support/Windows/Process.inc +++ b/lib/Support/Windows/Process.inc @@ -363,7 +363,7 @@ const char *Process::ResetColor() { unsigned Process::GetRandomNumber() { unsigned int result; - const errno_t ec = rand_s(&result); + const int ec = rand_s(&result); assert(ec == 0 && "rand_s failed"); return result; }