Re: m32r tas() implementation - Mailing list pgsql-ports

From Peter Eisentraut
Subject Re: m32r tas() implementation
Date
Msg-id 200704240727.54617.peter_e@gmx.net
Whole thread Raw
In response to Re: m32r tas() implementation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-ports
Tom Lane wrote:
> Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> writes:
> > I'm porting only for Linux on m32r. I think m32r's tas() is depend
> > on glibc's implementation.
> > It's a system call now. So <sys/tas.h> should be used for
> > Linux/m32r only.
>
> Well, my point stands: sys/tas.h is not present on every Linux, so we
> need at least another #ifdef here.  I'm not sure what it should be
> though.

But every Linux on m32r does have sys/tas.h.  It's among the glibc
header files for that port.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: m32r tas() implementation
Next
From: Bruce Momjian
Date:
Subject: Re: m32r tas() implementation