From owner-freebsd-current@FreeBSD.ORG Tue Nov 22 18:53:01 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E78EE106564A; Tue, 22 Nov 2011 18:53:01 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 80E578FC08; Tue, 22 Nov 2011 18:53:01 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 6BA732A28CC8; Tue, 22 Nov 2011 19:53:00 +0100 (CET) Date: Tue, 22 Nov 2011 19:53:00 +0100 From: Ed Schouten To: Robert Millan Message-ID: <20111122185300.GC1979@hoeg.nl> References: <20111119175620.GV50300@deviant.kiev.zoral.com.ua> <20111120114042.GA1256@thorin> <20111120174807.GY50300@deviant.kiev.zoral.com.ua> <20111121133954.A1108@besplex.bde.org> <20111121092749.GD50300@deviant.kiev.zoral.com.ua> <20111122093515.GK50300@deviant.kiev.zoral.com.ua> <20111122175340.GA44367@thorin> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oTHb8nViIGeoXxdp" Content-Disposition: inline In-Reply-To: <20111122175340.GA44367@thorin> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Kostik Belousov , Robert Millan , freebsd-current@freebsd.org, Adrian Chadd , freebsd-arch@freebsd.org Subject: Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 18:53:02 -0000 --oTHb8nViIGeoXxdp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Robert, * Robert Millan , 20111122 18:53: > +#undef __FreeBSD_kernel__ > +#define __FreeBSD_kernel__ So why not remove the #undef and not let the compiler define it at all? --=20 Ed Schouten WWW: http://80386.nl/ --oTHb8nViIGeoXxdp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOy++MAAoJEG5e2P40kaK73E0P/RopaqICYgBUUlIJZxENyIVk IOBmYxj+z/cKP8zfAnJDKz2K6ahhaHwVLSNM9hi+Ie7v3JFrn8olZSC2HQvm0+RH iszJVme4Bs6UP9ugNSq+2YeSJme0MieaBtWNzyZE6dOj+7iW0mj6TrQnVSeiVSdm yM6eEIpX8jYLjjtTlIHxNW8zeukZUDWXtaEf0LenjF4jSqw/4EU3pMhxtJ/J6PfV smf8nTNW993ZwFYc512H7k5w7Af7w2MRMIGO7LZgUXEXql/OsxxLapf3h8lYR2WD uxsptHBmnDmWVcGkgkrHxw/JsX/DUJHizZ+V0r0hYqxGsa6UUVrczNq3kCDH9hLM Uom7dZ6+UvYEMEZtRZKqEdg2P9XRk52vScDFe/HJdK9RQu+5gs4WmZ4aAlLARLaF Yuh6dFSUZalAc7n0SmuSDrHv+d201D6LeN8ZoPVzQTkI/BEZrUlWGIm6VAEuKHF6 3MOcADrhHfnYd4hlr3NLoCZMeUC57/8hDd0pYE/Z4nG5J2hcAlI20a4daIpEZGrs PUXk96UXX0wsps5WK0BZsNI73EQLtFRwKyMGYl98YGJJDX+XOerP1mDESr7McTXv 0AXRt+O7CE3zBVtrwQUOCtFQT0X9nKV6QcsEl6aaf25NpRfgqEOMnT4SXP72y2ZF 0RggeUNmvPbrNk8E7r2Q =4Ux/ -----END PGP SIGNATURE----- --oTHb8nViIGeoXxdp--