diff options
author | Henry Rawas <henryr@schakra.com> | 2011-06-29 11:12:58 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-06-29 20:51:30 +0200 |
commit | 2e1af6df499387c7d44655b4837a84d74c41acee (patch) | |
tree | 63ff3edf1c1c5f9137e21dd174e0922accbf333f /deps/v8/src/platform-win32.cc | |
parent | 1cb7b67ac3e43c9f1f051d59b9c38f07fcd7b337 (diff) | |
download | node-new-2e1af6df499387c7d44655b4837a84d74c41acee.tar.gz |
Fix V8 mingw32 build
Reported to V8
http://code.google.com/p/v8/issues/detail?id=1508
Diffstat (limited to 'deps/v8/src/platform-win32.cc')
-rw-r--r-- | deps/v8/src/platform-win32.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/v8/src/platform-win32.cc b/deps/v8/src/platform-win32.cc index b7eed47cba..b32c3c68fb 100644 --- a/deps/v8/src/platform-win32.cc +++ b/deps/v8/src/platform-win32.cc @@ -123,6 +123,15 @@ 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; |