Revert dcf6955: Fix V8 mingw32 build
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 16 Jul 2011 12:51:45 +0000 (14:51 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 16 Jul 2011 12:51:45 +0000 (14:51 +0200)
Patch has been merged upstream in V8 3.4.6.

Fixes #1351.

deps/v8/src/platform-win32.cc

index 2a30046..35b1a8e 100644 (file)
@@ -118,15 +118,6 @@ int strncasecmp(const char* s1, const char* s2, int n) {
 // the Microsoft Visual Studio C++ CRT.
 #ifdef __MINGW32__
 
-namespace v8 {
-namespace internal {
-
-intptr_t OS::MaxVirtualMemory() {
-  return 0;
-}
-}
-}
-
 int localtime_s(tm* out_tm, const time_t* time) {
   tm* posix_local_time_struct = localtime(time);
   if (posix_local_time_struct == NULL) return 1;