How to check the size of pthread_t?

2009-02-27 Thread Vasil Dimov
Hello list, I am trying to create an autoconf script that does check the size of pthread_t, but I am experiencing some troubles in the way. To be precise, what I need is a macro like SIZEOF_PTHREAD_T, similar to SIZEOF_LONG. The problem is that pthread.h must be included in the test program and i

Re: gcc on Irix 6.5

2009-02-27 Thread Bruno Haible
Eric Blake wrote: > > but this is due to a gcc bug: If floorl(-0.7L) is executed before > > floorl(-1.0L), and both calls are compiled by gcc - regardless whether > > in the same function, in different functions, or even in different > > compilation > > units -, then the floorl(-1.

Re: How to check the size of pthread_t?

2009-02-27 Thread Ralf Wildenhues
Hello Vasil, * Vasil Dimov wrote on Fri, Feb 27, 2009 at 07:47:49AM CET: > > I am trying to create an autoconf script that does check the size of > pthread_t, > but I am experiencing some troubles in the way. > > To be precise, what I need is a macro like SIZEOF_PTHREAD_T, similar to > SIZEOF_L