Index: runtime/bin/utils_fuchsia.cc |
diff --git a/runtime/bin/utils_fuchsia.cc b/runtime/bin/utils_fuchsia.cc |
index 1df2aba4e45547cfa9228ce9da418a97114a0263..0809723b8a0c96fb7afbbd5f8b7410dc47f60413 100644 |
--- a/runtime/bin/utils_fuchsia.cc |
+++ b/runtime/bin/utils_fuchsia.cc |
@@ -68,6 +68,11 @@ char* StringUtils::Utf8ToConsoleString( |
} |
+char* StringUtils::StrNDup(const char* s, intptr_t n) { |
+ return strndup(s, n); |
+} |
+ |
+ |
bool ShellUtils::GetUtf8Argv(int argc, char** argv) { |
return false; |
} |