1234567891011121314151617181920 |
- $OpenBSD: patch-mono_mini_main_c,v 1.4 2016/06/26 10:40:28 robert Exp $
- --- mono/mini/main.c.orig Thu Jun 9 17:01:57 2016
- +++ mono/mini/main.c Thu Jun 23 19:29:27 2016
- @@ -167,10 +167,14 @@ main (void)
- }
-
- #else
- -
- +#include <sched.h>
- int
- main (int argc, char* argv[])
- {
- +#if defined(__powerpc__) && defined (__GLIBC__)
- + unsigned long mask = 1;
- + sched_setaffinity(0, sizeof(mask), &mask);
- +#endif
- mono_build_date = build_date;
-
- probe_embedded (argv [0], &argc, &argv);
|