From 172cd39760f03a59f4548bcda0624730b2aa7249 Mon Sep 17 00:00:00 2001 From: "vegorov@chromium.org" Date: Wed, 6 Jul 2011 12:29:21 +0000 Subject: [PATCH] Define OS::MaxVirtualMemory on MinGW. Patch by Bert Belder. BUG=v8:1508 Review URL: http://codereview.chromium.org/7212030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/platform-win32.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/platform-win32.cc b/src/platform-win32.cc index 2fb3413d2..b403b37f0 100644 --- a/src/platform-win32.cc +++ b/src/platform-win32.cc @@ -44,11 +44,6 @@ namespace v8 { namespace internal { -intptr_t OS::MaxVirtualMemory() { - return 0; -} - - // Test for finite value - usually defined in math.h int isfinite(double x) { return _finite(x); @@ -197,6 +192,11 @@ int random() { namespace v8 { namespace internal { +intptr_t OS::MaxVirtualMemory() { + return 0; +} + + double ceiling(double x) { return ceil(x); } -- 2.34.1