mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Fix V8 mingw32 build
Reported to V8 http://code.google.com/p/v8/issues/detail?id=1508
This commit is contained in:
1 parent
a58b6439de
commit
dcf6955c10
1 file changed
+9
Vendored
+9
@@ -123,6 +123,15 @@ int strncasecmp(const char* s1, const char* s2, int n) {
|
|||||||
// the Microsoft Visual Studio C++ CRT.
|
// the Microsoft Visual Studio C++ CRT.
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
|
|
||||||
|
namespace v8 {
|
||||||
|
namespace internal {
|
||||||
|
|
||||||
|
intptr_t OS::MaxVirtualMemory() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int localtime_s(tm* out_tm, const time_t* time) {
|
int localtime_s(tm* out_tm, const time_t* time) {
|
||||||
tm* posix_local_time_struct = localtime(time);
|
tm* posix_local_time_struct = localtime(time);
|
||||||
if (posix_local_time_struct == NULL) return 1;
|
if (posix_local_time_struct == NULL) return 1;
|
||||||
|
|||||||
Reference in new issue
Block a user