Index: runtime/bin/utils_macos.cc |
diff --git a/runtime/bin/utils_macos.cc b/runtime/bin/utils_macos.cc |
index 136881d37f580d5af238492ecdcb9f6e891673c5..2421d2a6a8e09325c762b37713fe868775050fd5 100644 |
--- a/runtime/bin/utils_macos.cc |
+++ b/runtime/bin/utils_macos.cc |
@@ -77,6 +77,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; |
} |