Merge branch 'artem-fix-building-on-dragonflybsd-9.18' into 'bind-9.18'
[9.18] Fix building BIND on DragonFly BSD (on both older an newer versions) See merge request isc-projects/bind9!8272
This commit is contained in:
@@ -46,8 +46,10 @@
|
||||
/* On DragonFly BSD the header does not provide jemalloc API */
|
||||
#if defined(HAVE_MALLOC_NP_H) && !defined(__DragonFly__)
|
||||
#include <malloc_np.h>
|
||||
#define JEMALLOC_API_SUPPORTED 1
|
||||
#elif defined(HAVE_JEMALLOC)
|
||||
#include <jemalloc/jemalloc.h>
|
||||
#define JEMALLOC_API_SUPPORTED 1
|
||||
|
||||
#if JEMALLOC_VERSION_MAJOR < 4
|
||||
#define sdallocx(ptr, size, flags) dallocx(ptr, flags)
|
||||
|
||||
Reference in New Issue
Block a user