Problem: Mac: Build failure with Mac OS X 10.6
(Sergey Fedorov, after: v9.1.1748)
Solution: Add ifdefs MAC_OS_X_VERSION_10_7 around the code that sets the
scheduler priority.
fixes: #19044
related: #18120
closes: #19054
Signed-off-by: Christian Brabandt <cb@256bit.org>
* threads’ quality of service classes clamped.
*/
#ifdef MACOS_X
+# ifdef MAC_OS_X_VERSION_10_7
integer_t policy = TASK_DEFAULT_APPLICATION;
task_policy_set(mach_task_self(), TASK_CATEGORY_POLICY, &policy, 1);
+# endif
#endif
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2045,
/**/
2044,
/**/