From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Brinkhoff Newsgroups: gmane.emacs.devel Subject: Re: get-internal-run-time Date: 03 May 2004 07:38:59 +0200 Organization: nocrew Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <857jvu83yk.fsf@junk.nocrew.org> References: <85k7036eqr.fsf@junk.nocrew.org> <85vfjgbphf.fsf_-_@junk.nocrew.org> <85isfgasj6.fsf@junk.nocrew.org> <5567-Sun02May2004164421+0300-eliz@gnu.org> <85u0yy8yet.fsf@junk.nocrew.org> <87ad0qwetc.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083562856 19157 80.91.224.253 (3 May 2004 05:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 05:40:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 03 07:40:49 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKWC9-0005yi-00 for ; Mon, 03 May 2004 07:40:49 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKWC9-0008Q0-00 for ; Mon, 03 May 2004 07:40:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKWBw-0008NZ-H2 for emacs-devel@quimby.gnus.org; Mon, 03 May 2004 01:40:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKWBp-0008LP-GB for emacs-devel@gnu.org; Mon, 03 May 2004 01:40:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKWBI-0007Rh-1W for emacs-devel@gnu.org; Mon, 03 May 2004 01:40:28 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BKWBH-0007QM-Oz for emacs-devel@gnu.org; Mon, 03 May 2004 01:39:55 -0400 Original-Received: from [213.242.147.30] (helo=junk.nocrew.org) by mx20.gnu.org with esmtp (Exim 4.30) id 1BKWB7-0001Gn-3P for emacs-devel@gnu.org; Mon, 03 May 2004 01:39:45 -0400 Original-Received: from lars by junk.nocrew.org with local (Exim 3.35 #1 (Debian)) id 1BKWAO-0002Sb-00; Mon, 03 May 2004 07:39:00 +0200 Original-To: Kevin Ryde In-Reply-To: <87ad0qwetc.fsf@zip.com.au> Original-Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22577 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22577 Kevin Ryde writes: > Lars Brinkhoff writes: > > + #if defined HAVE_SYS_RESOURCE_H && defined HAVE_GETRUSAGE > > + #include > It's normally enough to just test HAVE_FOO_H for a header. (Unless > you know it's actively harmful in some particular circumstances.) Ok, will revise. -- Lars Brinkhoff, Services for Unix, Linux, GCC, HTTP Brinkhoff Consulting http://www.brinkhoff.se/