stub to enable compilation on macOS,
memory info for macOS is currently not available.
This commit is contained in:
parent
8841f30671
commit
25de1beb4f
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue