summaryrefslogtreecommitdiffstats
path: root/base/rand_util.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-15 20:29:03 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-15 20:29:03 +0000
commitc56bef4dc5a6651e2b0ff620f45bff738a48dae8 (patch)
tree4aef500d7374ed62d267000e7bbcb2d8d32f5356 /base/rand_util.cc
parent4198e75ed553b89f573bf7178ee32aa6317af090 (diff)
downloadchromium_src-c56bef4dc5a6651e2b0ff620f45bff738a48dae8.zip
chromium_src-c56bef4dc5a6651e2b0ff620f45bff738a48dae8.tar.gz
chromium_src-c56bef4dc5a6651e2b0ff620f45bff738a48dae8.tar.bz2
Fixes to get base compiling on VS2013
- Missing includes of <algorithm> for std::min/std::max. - Update prep_libc.py for different obj path in runtime library. - Disable optimization in a couple files that currently fail in /O2. Upstream bugs filed that are supposedly fixed in the next release. R=thakis@chromium.org BUG=288948 Review URL: https://codereview.chromium.org/26885007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/rand_util.cc')
-rw-r--r--base/rand_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/rand_util.cc b/base/rand_util.cc
index da6de87..9641ff4 100644
--- a/base/rand_util.cc
+++ b/base/rand_util.cc
@@ -6,6 +6,7 @@
#include <math.h>
+#include <algorithm>
#include <limits>
#include "base/basictypes.h"