From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 10 14:36:41 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B596037B401 for ; Thu, 10 Jul 2003 14:36:41 -0700 (PDT) Received: from godel.mtl.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0733443F85 for ; Thu, 10 Jul 2003 14:36:41 -0700 (PDT) (envelope-from bmilekic@technokratis.com) Received: from godel.mtl.distributel.net (localhost [127.0.0.1]) h6AHeVte002552; Thu, 10 Jul 2003 17:40:31 GMT (envelope-from bmilekic@technokratis.com) Received: (from bmilekic@localhost) by godel.mtl.distributel.net (8.12.9/8.12.9/Submit) id h6AHeV7d002551; Thu, 10 Jul 2003 17:40:31 GMT X-Authentication-Warning: godel.mtl.distributel.net: bmilekic set sender to bmilekic@technokratis.com using -f Date: Thu, 10 Jul 2003 17:40:31 +0000 From: Bosko Milekic To: Ben Goodwin Message-ID: <20030710174031.GA2521@technokratis.com> References: <001301c34669$438e1040$6801a8c0@dsg.atomicmatrix.net> <20030710164322.GA1812@technokratis.com> <000501c34727$e9575fe0$6801a8c0@dsg.atomicmatrix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c34727$e9575fe0$6801a8c0@dsg.atomicmatrix.net> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org Subject: Re: NSS Modules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 21:36:42 -0000 On Thu, Jul 10, 2003 at 05:12:03PM -0400, Ben Goodwin wrote: > I'd like to support Sun's cc, however .. so I'm betting that isn't defined > (I will check) ... I figured that would be available under gcc but assumed > it wasn't "portable enough" ... You can still test for whether or not it is defined. #if defined(__FreeBSD__) /* Do freebsd-specific stuff */ #else /* Other systems? */ #endif -- Bosko Milekic * bmilekic@technokratis.com * bmilekic@FreeBSD.org TECHNOkRATIS Consulting Services * http://www.technokratis.com/