Subversion Repositories Kolibri OS

Rev

Rev 9077 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9077 Rev 9766
Line 13... Line 13...
13
 
13
 
14
#define INT32_MIN        (-2147483647L-1)
14
#define INT32_MIN  (-2147483647L - 1)
15
#define INT32_MAX        (2147483647L)
15
#define INT32_MAX  (2147483647L)
Line 16... Line -...
16
#define UINT32_MAX       (4294967295UL)
-
 
17
 
-
 
18
#if __have_long64
-
 
19
#define INT64_MIN       (-9223372036854775807L-1L)
-
 
20
#define INT64_MAX        (9223372036854775807L)
-
 
21
#define UINT64_MAX      (18446744073709551615U)
-
 
22
#elif __have_longlong64
-
 
23
#define INT64_MIN       (-9223372036854775807LL-1LL)
-
 
24
#define INT64_MAX        (9223372036854775807LL)
-
 
25
#define UINT64_MAX      (18446744073709551615ULL)
16
#define UINT32_MAX (4294967295UL)
26
#else
17
 
27
#define INT64_MAX       0x7fffffffffffffffLL
18
#define INT64_MAX  0x7fffffffffffffffLL
-
 
19
#define INT64_MIN  (-INT64_MAX - 1LL)
-
 
20
#define UINT64_MAX (__CONCAT(INT64_MAX, U) * 2ULL + 1ULL)
-
 
21
 
-
 
22
#ifndef __int8_t_defined
-
 
23
#define __int8_t_defined
-
 
24
typedef signed char int8_t;
-
 
25
typedef signed short int int16_t;
-
 
26
typedef signed int int32_t;
-
 
27
typedef signed long long int int64_t;
-
 
28
typedef unsigned char uint8_t;
-
 
29
typedef unsigned short int uint16_t;
-
 
30
typedef unsigned int uint32_t;
-
 
31
typedef unsigned long long int uint64_t;
28
#define INT64_MIN       (-INT64_MAX - 1LL)
32
typedef int64_t intmax_t;
Line 29... Line 33...
29
#define UINT64_MAX      (__CONCAT(INT64_MAX, U) * 2ULL + 1ULL) 
33
typedef uint64_t uintmax_t;
Line 30... Line 34...
30
#endif
34
#endif