mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1115078 - Unbreak MOZ_JEMALLOC3 build on FreeBSD after bug 899126. r=glandium
This commit is contained in:
parent
263ccccd7b
commit
46f6d306da
@ -3416,6 +3416,8 @@ for file in $MALLOC_HEADERS; do
|
||||
fi
|
||||
done
|
||||
|
||||
MOZ_CHECK_HEADERS(alloca.h)
|
||||
|
||||
AC_CHECK_FUNCS(strndup posix_memalign memalign)
|
||||
|
||||
AC_CHECK_FUNCS(malloc_usable_size)
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "mozmemory_wrap.h"
|
||||
#include "jemalloc_types.h"
|
||||
#include "jemalloc/internal/jemalloc_internal_defs.h" // for JEMALLOC_HAS_ALLOCA_H
|
||||
#include "mozilla/Types.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
@ -69,7 +68,7 @@ je_(nallocx)(size_t size, int flags);
|
||||
# include <malloc.h>
|
||||
# define alloca _alloca
|
||||
# else
|
||||
# ifdef JEMALLOC_HAS_ALLOCA_H
|
||||
# ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# else
|
||||
# include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user