зеркало из https://github.com/mozilla/gecko-dev.git
Backout 977d6be3df40 Bug 957450 - The added "or condition" didn't prevent gonk-kk version fall into non-const definition.
This commit is contained in:
Родитель
2d9ef44f86
Коммит
46177c53e2
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
# include "jemalloc_types.h"
|
# include "jemalloc_types.h"
|
||||||
|
|
||||||
# if defined(__linux__) || (defined(MOZ_MEMORY_ANDROID) && (ANDROID_VERSION < 19))
|
# ifdef __linux__
|
||||||
typedef void * usable_ptr_t;
|
typedef void * usable_ptr_t;
|
||||||
# else
|
# else
|
||||||
typedef const void * usable_ptr_t;
|
typedef const void * usable_ptr_t;
|
||||||
|
|
|
@ -6548,7 +6548,7 @@ malloc_good_size_impl(size_t size)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(MOZ_MEMORY_ANDROID) && (ANDROID_VERSION < 19)
|
#ifdef MOZ_MEMORY_ANDROID
|
||||||
MOZ_MEMORY_API size_t
|
MOZ_MEMORY_API size_t
|
||||||
malloc_usable_size_impl(void *ptr)
|
malloc_usable_size_impl(void *ptr)
|
||||||
#else
|
#else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче