forked from bartvdbraak/blender
Fix FreeBSD build with recent malloc changes, patch by Shane Ambler.
This commit is contained in:
parent
76c94972da
commit
1760f5fdcc
@ -54,6 +54,8 @@
|
||||
#if defined(__linux__)
|
||||
# include <malloc.h>
|
||||
# define HAVE_MALLOC_STATS
|
||||
#elif defined(__FreeBSD__)
|
||||
# include <malloc_np.h>
|
||||
#elif defined(__APPLE__)
|
||||
# include <malloc/malloc.h>
|
||||
# define malloc_usable_size malloc_size
|
||||
|
Loading…
Reference in New Issue
Block a user