[Mono-dev] mono/mini/driver.c patch for RHEL3 compatability

Paolo Molaro lupus at ximian.com
Thu Dec 20 06:46:40 EST 2007


On 12/19/07 C.J. Adams-Collier wrote:
> Zoltan asked that I make a change to configure.in as well, but I wanted
> to send this before I forgot about it.

The configure.in change is what is more important as you need to make
sure you won't break the correct systems in your quest for supporting
an old and broken distribution.

> --- mono/mini/driver.c  2007-12-19 15:04:53.000000000 -0800
> +++ mono/mini/patched-driver.c  2007-12-19 15:05:20.000000000 -0800
> @@ -706,8 +706,16 @@
>  
>  #if HAVE_SCHED_SETAFFINITY
>         if (getenv ("MONO_NO_SMP")) {
> +#  ifdef GLIBC_RHEL3_SCHED_SETAFFINITY

Use HAVE_BROKEN_SCHED_SETAFFINITY here.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list