Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 5CC1E9FB1BC for ; Tue, 24 Apr 2007 02:28:00 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 61709-03 for ; Tue, 24 Apr 2007 02:27:59 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 39E4C9FA6AC for ; Tue, 24 Apr 2007 02:27:59 -0300 (ADT) Received: (qmail invoked by alias); 24 Apr 2007 05:27:57 -0000 Received: from xdsl-87-78-209-248.netcologne.de (EHLO colt.pezone.net) [87.78.209.248] by mail.gmx.net (mp010) with SMTP; 24 Apr 2007 07:27:57 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX19YCZ19oA5YLRm/i7bW0nox5xgt9RfvAKp2HBgjTa LQ//kqErcPpayc From: Peter Eisentraut To: pgsql-ports@postgresql.org Subject: Re: m32r tas() implementation Date: Tue, 24 Apr 2007 07:27:52 +0200 User-Agent: KMail/1.9.5 Cc: Tom Lane , Kazuhiro Inaoka , Martin Pitt References: <20070414185459.GF5920@piware.de> <462D51C5.2090000@renesas.com> <19228.1177381343@sss.pgh.pa.us> In-Reply-To: <19228.1177381343@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704240727.54617.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/6 X-Sequence-Number: 2547 Tom Lane wrote: > Kazuhiro Inaoka 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 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/