build: fix build on macOS

This commit is contained in:
Christian Hergert
2019-06-04 14:35:48 -07:00
parent af2a17daa5
commit 807bff9152
9 changed files with 15 additions and 11 deletions

View File

@ -407,9 +407,9 @@ sysprof_local_profiler_class_init (SysprofLocalProfilerClass *klass)
g_object_class_override_property (object_class, PROP_WHOLE_SYSTEM, "whole-system");
g_type_ensure (SYSPROF_TYPE_GJS_SOURCE);
#ifdef __linux__
g_type_ensure (SYSPROF_TYPE_HOSTINFO_SOURCE);
g_type_ensure (SYSPROF_TYPE_PROC_SOURCE);
#ifdef __linux__
g_type_ensure (SYSPROF_TYPE_PERF_SOURCE);
#endif
g_type_ensure (SYSPROF_TYPE_PROXY_SOURCE);