Bug 957450 - fix compile error from jemalloc in gonk-kk. r=gal

This commit is contained in:
Kai-Zhen Li 2014-01-10 14:14:53 +08:00
parent e77c298f96
commit d8cf29acff
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
# include "jemalloc_types.h"
# ifdef __linux__
# if defined(__linux__) && (!defined(MOZ_MEMORY_ANDROID) || ANDROID_VERSION < 19)
typedef void * usable_ptr_t;
# else
typedef const void * usable_ptr_t;

View File

@ -6548,7 +6548,7 @@ malloc_good_size_impl(size_t size)
}
#ifdef MOZ_MEMORY_ANDROID
#if defined(MOZ_MEMORY_ANDROID) && (ANDROID_VERSION < 19)
MOZ_MEMORY_API size_t
malloc_usable_size_impl(void *ptr)
#else