--- spectro/dispcal.c.orig 2022-06-28 16:42:00.000000000 +0800 +++ spectro/dispcal.c 2023-02-24 00:30:57.000000000 +0800 @@ -1770,7 +1770,7 @@ /* Hmm. Maybe this should actually be 1.72 ?? */ g_def_gamma = 1.8; -#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1040 +#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 /* "Gestalt(gestaltSystemVersion, &MacVers)" is supported for early */ /* systems, but was deprecated in 10.8 and causes warnings in 10.10. */ /* gestaltSystemVersionMajor etc. isn't supported on older systems. */