mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 957450 - fix compile error from jemalloc in gonk-kk. r=gal
This commit is contained in:
parent
e77c298f96
commit
d8cf29acff
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user