[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [PATCH 12/40] mini-os: define ULONG_MAX/LONG_MAX for arm64



Huang Shijie, on ven. 03 nov. 2017 03:11:49 +0000, wrote:
> This patch defines the proper ULONG_MAX/LONG_MAX for arm64.
> 
> Change-Id: Ie2f3f88bb52bf419b53f2fcdfd52936a2064f5bb
> Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx>

Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
>  include/posix/limits.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/posix/limits.h b/include/posix/limits.h
> index 5d2b864..685358f 100644
> --- a/include/posix/limits.h
> +++ b/include/posix/limits.h
> @@ -25,7 +25,7 @@
>  #define SHRT_MAX        0x7fff
>  #define USHRT_MAX       0xffff
>  
> -#if defined(__x86_64__)
> +#if defined(__x86_64__) || defined(__aarch64__)
>  # define LONG_MAX       0x7fffffffffffffffL
>  # define ULONG_MAX      0xffffffffffffffffUL
>  #else
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> Minios-devel mailing list
> Minios-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

-- 
Samuel
 Les roots ne sont plus ce qu'ils étaient...Maintenant il sont dioxinés,
 c'est de la m... ! Avant on les élevaient avec du bon unix mais ça été
 remplacé par des farines industrielles nouvelles technologies (NT).
 -+- JdK in NPC : Exigez un root élevé sous la mère ! -+-

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.