From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.devel Subject: Re: get-internal-run-time Date: Mon, 03 May 2004 10:10:39 +1000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ad0qwetc.fsf@zip.com.au> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083543924 24515 80.91.224.253 (3 May 2004 00:25:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 00:25:24 +0000 (UTC) Cc: Lars Brinkhoff Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 03 02:25:17 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 1BKRGn-00062F-00 for ; Mon, 03 May 2004 02:25:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKRGm-0003JQ-00 for ; Mon, 03 May 2004 02:25:16 +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 1BKRGU-0001rD-HI for emacs-devel@quimby.gnus.org; Sun, 02 May 2004 20:24:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKRCY-0007v9-Mv for emacs-devel@gnu.org; Sun, 02 May 2004 20:20:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKRBx-0007ek-Dq for emacs-devel@gnu.org; Sun, 02 May 2004 20:20:49 -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 1BKRBw-0007JP-En for emacs-devel@gnu.org; Sun, 02 May 2004 20:20:16 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by mx20.gnu.org with esmtp (Exim 4.30) id 1BKR2s-00011U-Eb for emacs-devel@gnu.org; Sun, 02 May 2004 20:10:54 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i430Ao4u025027; Mon, 3 May 2004 10:10:50 +1000 Original-Received: from localhost (ppp2A37.dyn.pacific.net.au [61.8.42.55]) by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i430AmHV020382; Mon, 3 May 2004 10:10:49 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1BKR2h-0000T3-00; Mon, 03 May 2004 10:10:43 +1000 Original-To: emacs-devel@gnu.org In-Reply-To: <85u0yy8yet.fsf@junk.nocrew.org> (Lars Brinkhoff's message of "02 May 2004 20:41:14 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) 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:22572 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22572 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.)