Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2015 16:34:00 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Cy Schubert <cy@FreeBSD.org>
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>
In-Reply-To: <201505041242.t44CgrTd090709@svn.freebsd.org>
References:  <201505041242.t44CgrTd090709@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150504133400.GH2390>