From b0bc08b345ac9145c4daf0a4823af8d039698f86 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Fri, 6 Jan 2017 07:15:00 +0000 Subject: [PATCH] include: Add LLONG_MIN, LLONG_MAX, ULLONG_MAX defines. Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Alexandre Julliard --- include/msvcrt/limits.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/msvcrt/limits.h b/include/msvcrt/limits.h index 1eb156130ec..13bab8679ba 100644 --- a/include/msvcrt/limits.h +++ b/include/msvcrt/limits.h @@ -30,6 +30,10 @@ #define LONG_MAX 0x7fffffffL #define ULONG_MAX 0xffffffffUL +#define LLONG_MAX (((__int64)0x7fffffff << 32) | 0xffffffff) +#define LLONG_MIN (-LLONG_MAX-1) +#define ULLONG_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff) + #define _I64_MAX (((__int64)0x7fffffff << 32) | 0xffffffff) #define _I64_MIN (-_I64_MAX-1) #define _UI64_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff) -- 2.11.4.GIT