diff options
Diffstat (limited to 'arch/nt64/bits/limits.h')
-rw-r--r-- | arch/nt64/bits/limits.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/nt64/bits/limits.h b/arch/nt64/bits/limits.h index b17372b..43a769a 100644 --- a/arch/nt64/bits/limits.h +++ b/arch/nt64/bits/limits.h @@ -1,8 +1,13 @@ #define PAGE_SIZE 65536 #define LONG_BIT 64 -#define LONG_MAX 0x7fffffffffffffffL -#define LLONG_MAX 0x7fffffffffffffffLL +#ifndef LONG_MAX +#define LONG_MAX __LONG_MAX +#endif + +#ifndef LLONG_MAX +#define LLONG_MAX __LLONG_MAX +#endif #define _MIDIPIX_ABI 20170101 #define _MIDIPIX_XFI 20170101 |