Getting region date per process in Darwin

This commit is contained in:
David Carlier
2019-09-15 14:05:00 +01:00
parent 888efc1b36
commit 819a661be5
2 changed files with 13 additions and 0 deletions

View File

@ -57,6 +57,7 @@
#elif defined(__APPLE__)
#include <malloc/malloc.h>
#include <libproc.h>
#define HAVE_MALLOC_SIZE 1
#define zmalloc_size(p) malloc_size(p)
#endif