Mailing List archive

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

[vdr] Re: VDR 1.1.32 plugin compile problems...



Andreas Fatum wrote:
> 
> On Mon, 19 May 2003, Klaus Schmidinger wrote:
> 
> > I wonder why this really would be "the solution"...
> > Does you patch change something in a way that makes _GNU_SOURCE
> > necessary? AFAIK plugins have been including thread.h for quite a while
> > without that problem.
> >
> > Am I missing something?
> 
> Including thread.h is and was not the problem. The problem was to use
> "pthread_rwlock_t" that only gets defined in the Linux-system includes
> when GNU_SOURCE (or UNIX98) is defined.
> 
> Look at <bits/pthreadtypes.h>

Ah, now I see.
That's why the original VDR doesn't have this problem.

Maybe it would be better if Andreas' patch put this define into thread.h?
Otherwise all plugin Makefiles would have to be changed.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index