mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Build: fix OpenBSD error in guardedalloc
Pull Request: https://projects.blender.org/blender/blender/pulls/108252
This commit is contained in:
parent
0711bae5e7
commit
670da740ba
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@
|
|||
# define HAVE_MALLOC_STATS
|
||||
#elif defined(__FreeBSD__)
|
||||
# include <malloc_np.h>
|
||||
#elif defined(__OpenBSD__)
|
||||
# undef USE_MALLOC_USABLE_SIZE
|
||||
#elif defined(__APPLE__)
|
||||
# include <malloc/malloc.h>
|
||||
# define malloc_usable_size malloc_size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue