include: Add LLONG_MIN, LLONG_MAX, ULLONG_MAX defines.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2017-01-06 07:15:00 +00:00 committed by Alexandre Julliard
parent 62f43eeb02
commit b0bc08b345
1 changed files with 4 additions and 0 deletions

View File

@ -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)