summaryrefslogtreecommitdiffstats
path: root/app/widgets/gimpdashboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/widgets/gimpdashboard.c')
-rw-r--r--app/widgets/gimpdashboard.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/widgets/gimpdashboard.c b/app/widgets/gimpdashboard.c
index 8e8273b..5b55b37 100644
--- a/app/widgets/gimpdashboard.c
+++ b/app/widgets/gimpdashboard.c
@@ -2420,6 +2420,13 @@ gimp_dashboard_sample_cpu_active_time (GimpDashboard *dashboard,
#ifdef HAVE_MEMORY_GROUP
#ifdef PLATFORM_OSX
+ #if MAC_OS_X_VERSION_MAX_ALLOWED < 1080
+ #define MACH_TASK_BASIC_INFO_COUNT TASK_BASIC_INFO_COUNT
+ #define mach_task_basic_info_data_t task_basic_info_data_t
+
+ #define MACH_TASK_BASIC_INFO TASK_BASIC_INFO
+ #define mach_task_basic_info task_basic_info
+ #endif
static void
gimp_dashboard_sample_memory_used (GimpDashboard *dashboard,
Variable variable)