Index: runtime/vm/os.h |
diff --git a/runtime/vm/os.h b/runtime/vm/os.h |
index 906432240bbf79dc7d38945796ff55f9e615c2be..ff61aaa52499cd55b2c1bdbfc3092d684e5cad2d 100644 |
--- a/runtime/vm/os.h |
+++ b/runtime/vm/os.h |
@@ -110,6 +110,7 @@ class OS { |
// Not all platform support strndup. |
static char* StrNDup(const char* s, intptr_t n); |
+ static intptr_t StrNLen(const char* s, intptr_t n); |
// Print formatted output to stdout/stderr for debugging. |
static void Print(const char* format, ...) PRINTF_ATTRIBUTE(1, 2); |