From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] A probably stupid question on portability From: Charles Forsyth Date: Tue, 23 Oct 2007 21:03:49 +0100 In-Reply-To: <13426df10710231210o2ac74db9l77d71813eebf95c6@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-pdkfptwpuqvnklcylkbrqapyql" Topicbox-Message-UUID: d6d4cf7c-ead2-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-pdkfptwpuqvnklcylkbrqapyql Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit #if and the defined stuff are in even the older c standards, but it's not defined to be part of the compiler (in plan 9, it's still in a separate cpp, and usually that's not used, except with pcc, but see the -p option in 2c(1)) early on, cpp was fairly simple minded, part of the cc command(!), and a c file had to have # at the start to be macro-processed. the rot really set in with reiser This new version [of the preprocessor] was written by John F. Reiser and is from 5 to 12 times faster than the old. (but the input language was considerably more elaborate, and didn't people use it!) --upas-pdkfptwpuqvnklcylkbrqapyql Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Tue Oct 23 20:16:39 BST 2007 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 38369C227 for ; Tue, 23 Oct 2007 15:11:46 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E5CF65B1E1 for <9fans@cse.psu.edu>; Tue, 23 Oct 2007 15:10:34 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27782-01-51 for <9fans@cse.psu.edu>; Tue, 23 Oct 2007 15:10:32 -0400 (EDT) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id F17E45AF81 for <9fans@cse.psu.edu>; Tue, 23 Oct 2007 15:10:31 -0400 (EDT) Received: by wa-out-1112.google.com with SMTP id v33so1795450wah for <9fans@cse.psu.edu>; Tue, 23 Oct 2007 12:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=EeAOAmy/eMX9Q/1CUVq2Gyju3gc/rLZHxCbnYFsBTd4=; b=jCQuF4K52YOyDOBTgMSSgEszhgpVXy6ANJJS96fchRxipgHLeHbZW7A6/SI7oXQD4YQjhpQjsViLM0sPHtu7ojiJQ4f8G17HZZQXv/E2Bbo5fDpLKwkDTiRoZWQDmaEb6buXapEyyY/Ya0ecTPqIWgqUY9Imu9DbULA+nvtYpKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=H9WtkTp5rn/Y50fxx5LaWdaLHYwO0LDKXNyZIYsLF07zjmRMiw01xWFb6CJWdtrwiS2PmJTj/TI4LcKWYHa4F1VXVEG/JvtMvI6c3x2nScDi0/4QRCqPile5fVIglXuje6dGdikw/8YqFiz9TOMVBUe8uxKw0AZHWBsaSPt1j5w= Received: by 10.114.89.1 with SMTP id m1mr7092037wab.1193166631301; Tue, 23 Oct 2007 12:10:31 -0700 (PDT) Received: by 10.114.88.5 with HTTP; Tue, 23 Oct 2007 12:10:31 -0700 (PDT) Message-ID: <13426df10710231210o2ac74db9l77d71813eebf95c6@mail.gmail.com> Date: Tue, 23 Oct 2007 12:10:31 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at cse.psu.edu Subject: [9fans] A probably stupid question on portability X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu Errors-To: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu Is this construct portable at this point? c99 or whatever? Or is it gcc-centric? #if defined(_INCLUDED_GASNET_INTERNAL_H) && !defined(_IN_GASNET_INTERNAL_H) ron --upas-pdkfptwpuqvnklcylkbrqapyql--