Re: [PORTS] m32r tas() implementation

Peter Eisentraut <[email protected]> Tue, 24 Apr 2007 07:27:52 +0200
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
Tom Lane wrote:
> Kazuhiro Inaoka <[email protected]> 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/

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq