pkgsrc-Users archive

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

Re: libxslt needs -D_REENTRANT



On Mon, Jan 22, 2007 at 03:38:32AM -0500, Blair Sadewitz wrote:
> localtime_r is reported as implicitly defined in libexslt/date.c.  The
> libxslt headers do pull in the function declaration unless
> -D_REENTRANT is defined (I figure this was the least intrusive
> option).

This is wrong. localtime_r is a normal POSIX function and does not need
_REENTRANT for itself. What is the value of _POSIX_C_SOURCE or
_XOPEN_SOURCE at the time of include for time.h?

Joerg



Home | Main Index | Thread Index | Old Index