From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 6 06:53:33 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEF63106564A; Wed, 6 Jul 2011 06:53:33 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id AD7358FC13; Wed, 6 Jul 2011 06:53:33 +0000 (UTC) Received: by pvg11 with SMTP id 11so8224498pvg.13 for ; Tue, 05 Jul 2011 23:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GN1qr9QQ3mNWKyHLOUy9zr6kUSHZQcC/cf5eksx5eZY=; b=KhqVvuvCzbmcPOJKPI+eb8gQ7QmYA6WQ9RDwT5eHCHyTLS3iEF5ZgSsLgAV+6aNdQR PHZifjSV0i5PA2D5TG4N4hzMYbe63lJa+EjXuvrQ1+g6+SpEJIYJ3YXAnVo4NSCXzOcm C+KCo400IDY0dt1PPo02UraKybhJbeyWJ2wyo= MIME-Version: 1.0 Received: by 10.68.50.9 with SMTP id y9mr10829575pbn.24.1309935212965; Tue, 05 Jul 2011 23:53:32 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.57.4 with HTTP; Tue, 5 Jul 2011 23:53:32 -0700 (PDT) In-Reply-To: <20110705201214.GA31647@sandvine.com> References: <20110702193724.5c55a6c9@kan.dnsalias.net> <20110703020827.GA5763@sandvine.com> <20110703103531.4a553271@kan.dnsalias.net> <20110705140527.17362ed5@kan.dnsalias.net> <20110705201214.GA31647@sandvine.com> Date: Wed, 6 Jul 2011 08:53:32 +0200 X-Google-Sender-Auth: E9USm6mqciiDlfL6_hscfmcOIuM Message-ID: From: Robert Millan To: Ed Maste Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] __FreeBSD_kernel__ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2011 06:53:34 -0000 2011/7/5 Ed Maste : > On the topic of where such a macro should be defined I originally had > no strong opinion. =C2=A0However, valid points have been raised about > compiling software for FreeBSD using compilers that are not the one in > the base system (from ports or otherwise, and GCC or otherwise). =C2=A0Th= is > I think is a very valid point and one that would make me lean towards > defining the macro in sys/param.h. =C2=A0How workable is it to #include > sys/param.h to pick up the macro where needed? That works most of the time. There could be a problem if software can't assume is present, but I think it covers the vast majority of cases. --=20 Robert Millan