Index: runtime/vm/os_win.cc |
diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc |
index bb2d6349de6739e139830c0b41470531b22d74a0..383daf18265bd24a78eedf4c75d351058ae05307 100644 |
--- a/runtime/vm/os_win.cc |
+++ b/runtime/vm/os_win.cc |
@@ -259,6 +259,11 @@ char* OS::StrNDup(const char* s, intptr_t n) { |
} |
+intptr_t OS::StrNDup(const char* s, intptr_t n) { |
zra
2016/05/17 19:39:27
StrNLen?
|
+ return strnlen(s, n); |
+} |
+ |
+ |
void OS::Print(const char* format, ...) { |
va_list args; |
va_start(args, format); |