[llvm] r200973 - Try to unbreak the mingw32 build.

Benjamin Kramer benny.kra at googlemail.com
Fri Feb 7 04:05:36 PST 2014


Author: d0k
Date: Fri Feb  7 06:05:36 2014
New Revision: 200973

URL: http://llvm.org/viewvc/llvm-project?rev=200973&view=rev
Log:
Try to unbreak the mingw32 build.

Modified:
    llvm/trunk/lib/Support/Windows/Process.inc

Modified: llvm/trunk/lib/Support/Windows/Process.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Process.inc?rev=200973&r1=200972&r2=200973&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Process.inc (original)
+++ llvm/trunk/lib/Support/Windows/Process.inc Fri Feb  7 06:05:36 2014
@@ -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;
 }





More information about the llvm-commits mailing list