1 #ifndef __WINE_LIMITS_H
2 #define __WINE_LIMITS_H
7 #define SCHAR_MIN (-0x80)
11 #ifdef __CHAR_UNSIGNED__
13 # define CHAR_MAX UCHAR_MAX
15 # define CHAR_MIN SCHAR_MIN
16 # define CHAR_MAX SCHAR_MAX
19 #define SHRT_MIN (-0x8000)
20 #define SHRT_MAX 0x7fff
21 #define USHRT_MAX 0xffff
23 #define INT_MIN (-0x80000000)
24 #define INT_MAX 0x7fffffff
25 #define UINT_MAX 0xffffffff
27 #define LONG_MIN (-0x80000000L)
28 #define LONG_MAX 0x7fffffffL
29 #define ULONG_MAX 0xffffffffUL
31 #define _I64_MAX (((__int64)0x7fffffff << 32) | 0xffffffff)
32 #define _I64_MIN (-_I64_MAX-1)
33 #define _UI64_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff)
35 #define I64_MIN _I64_MIN
36 #define I64_MAX _I64_MAX
37 #define UI64_MAX _UI64_MAX
39 #endif /* __WINE_LIMITS_H */