stub to enable compilation on macOS,

memory info for macOS is currently not available.
This commit is contained in:
Holger Vogt 2020-01-19 15:33:54 +01:00
parent 8841f30671
commit 25de1beb4f
1 changed files with 7 additions and 1 deletions

View File

@ -386,7 +386,13 @@ static void set_static_system_info(void)
return;
} /* end of function set_static_system_info */
#elif defined(__APPLE__) && defined(__MACH__)
/* Get memory information */
static int get_sysmem(struct sys_memory *memall)
{
fprintf(stderr, "System memory info is not available\n");
return -1;
}
#elif defined(_WIN32)