Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B868B9FB395 for ; Mon, 23 Apr 2007 23:22:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 91826-01 for ; Mon, 23 Apr 2007 23:22:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id DB3749FA4B6 for ; Mon, 23 Apr 2007 23:22:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l3O2MN6s019229; Mon, 23 Apr 2007 22:22:23 -0400 (EDT) To: Kazuhiro Inaoka cc: Martin Pitt , pgsql-ports@postgresql.org Subject: Re: m32r tas() implementation In-reply-to: <462D51C5.2090000@renesas.com> References: <20070414185459.GF5920@piware.de> <23547.1176589025@sss.pgh.pa.us> <462D51C5.2090000@renesas.com> Comments: In-reply-to Kazuhiro Inaoka message dated "Tue, 24 Apr 2007 09:39:33 +0900" Date: Mon, 23 Apr 2007 22:22:23 -0400 Message-ID: <19228.1177381343@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/5 X-Sequence-Number: 2546 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. regards, tom lane