summaryrefslogtreecommitdiffstats
path: root/app/widgets/gimpdashboard.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
commit74f0d9eb037dc24bdfd1f0f325e483e380451d32 (patch)
treefaaaf44f426c20626c05034846c0b481c0e54983 /app/widgets/gimpdashboard.c
parentAdding upstream version 2.10.36. (diff)
downloadgimp-74f0d9eb037dc24bdfd1f0f325e483e380451d32.tar.xz
gimp-74f0d9eb037dc24bdfd1f0f325e483e380451d32.zip
Adding upstream version 2.10.38.upstream/2.10.38upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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)