[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [PATCH v2 16/47] mini-os: define ULONG_MAX/LONG_MAX for arm64
This patch defines the proper ULONG_MAX/LONG_MAX for arm64. Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx> --- 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/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |