Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: src/platform.h

Issue 13093: Fixed d8 on leopard. (Closed)
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698