[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 05/21] spawn: do not include sched.h on OS/2 kLIBC

From: KO Myung-Hun
Subject: Re: [PATCH 05/21] spawn: do not include sched.h on OS/2 kLIBC
Date: Wed, 03 Dec 2014 17:49:13 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2


Bruno Haible wrote:
> KO Myung-Hun wrote:
>> kLIBC does not have sched.h.
>> kLIBC declares 'struct sched_param' directly in its own spawn.h.
> But then the sched.h that gnulib module 'sched' creates is broken for kLIBC:
> It will set HAVE_STRUCT_SCHED_PARAM=0 and thus provide a different
> definition of 'struct sched_param', that conflicts if both <sched.h> and
> <spawn.h> are included.
> You must first fix the problem in <sched.h>:
>   - Adjust m4/sched_h.m4 so that it considers <spawn.h> too,
>     also when <sched.h> does not exist. It should set 
>   - Adjust lib/sched.in.h so that it includes <spawn.h> in the kLIBC case.
> Then, AFAICS, no change should be necessary to lib/spawn.in.h (because
> module 'spawn' depends on module 'sched').


KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

Attachment: 0001-sched-check-struct-sched_param-in-spawn.h-as-well.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]