Backed out changeset 4b9c2fb40653 (bug 1365194)

This commit is contained in:
Carsten "Tomcat" Book 2017-05-17 11:43:24 +02:00
parent c994a231f0
commit d0e69c4bdb

View File

@ -5160,6 +5160,20 @@ RETURN:
#if defined(__GNUC__) && !defined(MOZ_MEMORY_DARWIN)
#define MOZ_MEMORY_ELF
#endif
#ifdef MOZ_MEMORY_SOLARIS
# ifdef __SUNPRO_C
void *
memalign_impl(size_t alignment, size_t size);
#pragma no_inline(memalign_impl)
# elif (defined(__GNUC__))
__attribute__((noinline))
# endif
#else
#if (defined(MOZ_MEMORY_ELF))
__attribute__((visibility ("hidden")))
#endif
#endif
#endif /* MOZ_REPLACE_MALLOC */
#ifdef MOZ_MEMORY_ELF