Change talloc.c to build with the mac 10.7 SDK
talloc.c has a local diff to define strnlen(), instead of using the definition in replace.c. However, the 10.7 SDK has its own strnlen(), which makes the compiler complain about a strnlen() redefinition. Use the pattern from replace.c to fix the redefinition problem. With this change, 'browser_tests' builds with the 10.7 SDK. BUG=136844 TEST=none Review URL: https://chromiumcodereview.appspot.com/10832045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148685 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment