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

Unified Diff: third_party/talloc/chromium.patch

Issue 10832045: Change talloc.c to build with the mac 10.7 SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months 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
« no previous file with comments | « no previous file | third_party/talloc/talloc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/talloc/chromium.patch
diff --git a/third_party/talloc/chromium.patch b/third_party/talloc/chromium.patch
index 26d4463a4418e838d7dfa2c9d8d10937ca4208ea..d9354516c7cb21278c8afa64cb660ba014e3cb99 100644
--- a/third_party/talloc/chromium.patch
+++ b/third_party/talloc/chromium.patch
@@ -254,7 +254,8 @@ diff -c -r talloc-2.0.1/talloc.c talloc/talloc.c
}
+ #ifndef HAVE_STRNLEN
-+ static size_t strnlen(const char* s, size_t n)
++ #define strnlen rep_strnlen
++ static size_t rep_strnlen(const char* s, size_t n)
Mark Mentovai 2012/07/27 01:10:14 Bet you broke this patch.
+ {
+ if (unlikely(!s)) return 0;
+ int i = 0;
« no previous file with comments | « no previous file | third_party/talloc/talloc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698