Re: Woody: pthread_rwlock_t error

2002-09-18 Thread Colin Watson
On Wed, Sep 18, 2002 at 06:06:56PM +0200, Holger Rauch wrote: > On Wed, 18 Sep 2002, Colin Watson wrote: > > [...] > > #define _XOPEN_SOURCE 500 > > > > ... at the top of your file to access it. See 'info libc "Feature Test > > Macros"'. > > I followed your advice and read the section you men

Re: Woody: pthread_rwlock_t error

2002-09-18 Thread Holger Rauch
Hi Colin! Thanks a lot for this really quick reply! On Wed, 18 Sep 2002, Colin Watson wrote: > [...] > #define _XOPEN_SOURCE 500 > > ... at the top of your file to access it. See 'info libc "Feature Test > Macros"'. I followed your advice and read the section you mentioned. I found out tha

Re: Woody: pthread_rwlock_t error

2002-09-18 Thread Colin Watson
On Wed, Sep 18, 2002 at 05:03:01PM +0200, Holger Rauch wrote: > Why does the following simple test program > > #include > > pthread_rwlock_t lock; > > int main( int argc, char** argv ) > { > return(0); > } > > yield these errors: > > thread_test.c:3: parse error before `lock' > thread_test.c