mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
build: fix build on macOS
This commit is contained in:
@ -52,6 +52,7 @@ static void
|
||||
sysprof_memory_aid_prepare (SysprofAid *self,
|
||||
SysprofProfiler *profiler)
|
||||
{
|
||||
#ifdef __linux__
|
||||
g_autoptr(SysprofSource) source = NULL;
|
||||
|
||||
g_assert (SYSPROF_IS_MEMORY_AID (self));
|
||||
@ -59,6 +60,7 @@ sysprof_memory_aid_prepare (SysprofAid *self,
|
||||
|
||||
source = sysprof_memory_source_new ();
|
||||
sysprof_profiler_add_source (profiler, source);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user