Re: VMS has struct sched_param in pthread.h

2017-07-05 Thread Bruno Haible
> 2017-06-19 Bruno Haible > John E. Malmberg(tiny change) > > sched: Fix compilation failure on OpenVMS. > * m4/sched_h.m4 (gl_SCHED_H): Require AC_CANONICAL_HOST. On OpenVMS, > test whether exists and defines struct sched_param. > * lib/sched.in.h: On O

Re: VMS has struct sched_param in pthread.h

2017-06-19 Thread Bruno Haible
John E. Malmberg wrote: > The configure script is now detecting that struct sched_param is present. > ... > Attached is a patch to lib/sched.in.patch Thanks. Applied with tiny changes: I write "OpenVMS", not "VMS", as discussed in the other thread. Also, no need to use conditionals based on __CRTL

Re: VMS has struct sched_param in pthread.h

2017-06-19 Thread John E. Malmberg
On 6/16/2017 9:47 PM, John E. Malmberg wrote: On 6/16/2017 12:21 PM, Bruno Haible wrote: Hello John, VMS does not currently provide a sched.h and has that definition in pthread.h instead. Please try the attached patch. Thank you, I will try to get to that this weekend. The configure scri

Re: VMS has struct sched_param in pthread.h

2017-06-16 Thread John E. Malmberg
On 6/16/2017 12:21 PM, Bruno Haible wrote: Hello John, VMS does not currently provide a sched.h and has that definition in pthread.h instead. Please try the attached patch. Thank you, I will try to get to that this weekend. Please also tell us identification of your environment: - Is i

Re: VMS has struct sched_param in pthread.h

2017-06-16 Thread Bruno Haible
Hello John, > The make step on VMS next stopped at glthread/cond.c with: > > cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC > -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o > glthread/cond.o glthread/cond.c > > struct sched_param > ^ > %CC-E-REDEFSTRUCT, In this dec

VMS has struct sched_param in pthread.h

2017-06-15 Thread John E. Malmberg
Hello All, The make step on VMS next stopped at glthread/cond.c with: cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c -o glthread/cond.o glthread/cond.c struct sched_param ^ %CC-E-REDEFSTRUCT, In this declaration, the str