Merge pull request #6384 from devnexen/apple_smaps_impl

Getting region date per process in Darwin
This commit is contained in:
Salvatore Sanfilippo
2019-12-02 09:02:08 +01:00
committed by GitHub
2 changed files with 22 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