From owner-dev-commits-src-all@freebsd.org Sat Feb 6 15:30:46 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B100F52C9A9; Sat, 6 Feb 2021 15:30:46 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DXx7p1b9nz4l0S; Sat, 6 Feb 2021 15:30:45 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.229.168]) by shaw.ca with ESMTPA id 8PXmlcFy6HmS38PXnlqgv3; Sat, 06 Feb 2021 08:30:44 -0700 X-Authority-Analysis: v=2.4 cv=MaypB7zf c=1 sm=1 tr=0 ts=601eb624 a=7AlCcx2GqMg+lh9P3BclKA==:117 a=7AlCcx2GqMg+lh9P3BclKA==:17 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=qa6Q16uM49sA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=kj8YTp4bdCVK2V1MK6wA:9 a=CjuIK1q_8ugA:10 a=vRcdKC0ogzYA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [IPv6:fc00:1:1:1::5b]) by spqr.komquats.com (Postfix) with ESMTPS id E714882A; Sat, 6 Feb 2021 07:30:41 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 116FUfla008751; Sat, 6 Feb 2021 07:30:41 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202102061530.116FUfla008751@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Ed Maste cc: Cy Schubert , src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 10990cb46027 - main - Simplify FreeBSD check. In-reply-to: References: <202102060240.1162eHYJ012657@gitrepo.freebsd.org> Comments: In-reply-to Ed Maste message dated "Sat, 06 Feb 2021 10:24:58 -0500." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Feb 2021 07:30:41 -0800 X-CMAE-Envelope: MS4xfIuiOSJjMnxGLnP869ALHUMosbDzNucAPrpkC7B3be5bc63jAUqLdYBt6Fr6MWh0q7aMdUnXi35aliQFceo0GRm/NjunXrBM8/zgUYC87blNZAtrfSWs zXop4EG1nybvaW2Row+/3jOA+Zfd/fzdtjTqf3sVLUPQZ6lkTi2VmPyFh0bCeim2xUOUrZQp5H3MQoSSiVxLzEL3aoVJDuH7ZhARzAAwiW/cgwGvfzEGLhgZ 2qHG+UoO9bXtVdNBqpC9QyDbaY/ccVxzFnt1P02DHzZEggFL8ke+JLjHKU2q2aGt8pfzGI2m9TzWuRCuU7c2pi7kM0588sHBJ3qe8RJk5otIX+IhrQfMrjS+ fk8i7Q1P X-Rspamd-Queue-Id: 4DXx7p1b9nz4l0S X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2021 15:30:46 -0000 In message , Ed Maste writes: > On Fri, 5 Feb 2021 at 21:40, Cy Schubert wrote: > > > > -#if (__FreeBSD_version >= 300000) > > +#ifdef __FreeBSD_version > > FWIW I think #ifdef __FreeBSD__ is the typical spelling of this test, > and it is built in to the compiler. Thanks. I'll change that. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few.