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; |