Fix build for UCLIBC platforms
authorsmcgruer <smcgruer@google.com>
Mon, 16 Mar 2015 21:45:00 +0000 (14:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 16 Mar 2015 21:45:01 +0000 (14:45 -0700)
commitb83205a538f420fd78220519540503616cf636cd
tree1a650526823b328a6d9fdb593e58d9aa604fe249
parent6f7f2012eed634695dc76aad720d3ee0820bd9d2
Fix build for UCLIBC platforms

malloc_usable_size does not exist in UCLIBC, so fall back to just
returning 0 for SkVarAlloc::heap_size().

BUG=skia:

Review URL: https://codereview.chromium.org/1006073003
src/core/SkVarAlloc.cpp
tests/VarAllocTest.cpp