projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a58b643
)
Fix V8 mingw32 build
author
Henry Rawas
<henryr@schakra.com>
Wed, 29 Jun 2011 18:12:58 +0000
(11:12 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Sat, 9 Jul 2011 01:21:29 +0000
(18:21 -0700)
Reported to V8
http://code.google.com/p/v8/issues/detail?id=1508
deps/v8/src/platform-win32.cc
patch
|
blob
|
history
diff --git
a/deps/v8/src/platform-win32.cc
b/deps/v8/src/platform-win32.cc
index
c226e2f
..
3458ec9
100644
(file)
--- 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;