From owner-svn-src-head@FreeBSD.ORG Mon May 4 13:34:09 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB07BAE2; Mon, 4 May 2015 13:34:09 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 422581FEE; Mon, 4 May 2015 13:34:09 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t44DY0Oe060598 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 4 May 2015 16:34:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t44DY0Oe060598 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t44DY0d1060597; Mon, 4 May 2015 16:34:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 4 May 2015 16:34:00 +0300 From: Konstantin Belousov To: Cy Schubert Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r282415 - head/usr.sbin/ntp Message-ID: <20150504133400.GH2390@kib.kiev.ua> References: <201505041242.t44CgrTd090709@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201505041242.t44CgrTd090709@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2015 13:34:09 -0000 On Mon, May 04, 2015 at 12:42:53PM +0000, Cy Schubert wrote: > Author: cy > Date: Mon May 4 12:42:52 2015 > New Revision: 282415 > URL: https://svnweb.freebsd.org/changeset/base/282415 > > Log: > Restore CPU dependent compile time conditionals. > > MFC after: 1 month (with r281143 and r282408) > > Modified: > head/usr.sbin/ntp/config.h > > Modified: head/usr.sbin/ntp/config.h > ============================================================================== > --- head/usr.sbin/ntp/config.h Mon May 4 09:33:57 2015 (r282414) > +++ head/usr.sbin/ntp/config.h Mon May 4 12:42:52 2015 (r282415) > @@ -1469,13 +1469,21 @@ > /* #undef SCO5_CLOCK */ > > /* The size of `char*', as computed by sizeof. */ > +#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) > #define SIZEOF_CHARP 8 > +#else > +#define SIZEOF_CHARP 4 > +#endif > > /* The size of `int', as computed by sizeof. */ > #define SIZEOF_INT 4 > > /* The size of `long', as computed by sizeof. */ > +#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) > #define SIZEOF_LONG 8 > +#else > +#define SIZEOF_LONG 4 > +#endif > > /* The size of `long long', as computed by sizeof. */ > #define SIZEOF_LONG_LONG 8 > @@ -1490,7 +1498,11 @@ > #define SIZEOF_SIGNED_CHAR 1 > > /* The size of `time_t', as computed by sizeof. */ > +#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) > #define SIZEOF_TIME_T 8 > +#else > +#define SIZEOF_TIME_T 4 > +#endif We definitely do not support alpha. What about other 64bit architectures, like mips64 with 64bit ABI, powerpc64, or arm64 ?