Re: m32r tas() implementation

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kazuhiro Inaoka <inaoka(dot)kazuhiro(at)renesas(dot)com>, Martin Pitt <martin(at)piware(dot)de>
Subject: Re: m32r tas() implementation
Date: 2007-04-24 05:27:52
Message-ID: 200704240727.54617.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Tom Lane wrote:
> Kazuhiro Inaoka <inaoka(dot)kazuhiro(at)renesas(dot)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/

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2007-04-27 01:21:30 Re: m32r tas() implementation
Previous Message Tom Lane 2007-04-24 02:22:23 Re: m32r tas() implementation