| Index: src/platform.h
|
| diff --git a/src/platform.h b/src/platform.h
|
| index cc44718fd052799077c20b82245cb58f2a2d4293..8d62efdea13cf49f2f5ac6e7f7e2b2bc2e137cde 100644
|
| --- a/src/platform.h
|
| +++ b/src/platform.h
|
| @@ -206,6 +206,7 @@ class OS {
|
|
|
| static void StrNCpy(Vector<char> dest, const char* src, size_t n);
|
| static char* StrDup(const char* str);
|
| + static char* StrNDup(const char* str, size_t n);
|
|
|
| // Support for profiler. Can do nothing, in which case ticks
|
| // occuring in shared libraries will not be properly accounted
|
|
|