1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
64
67
68
69
86
87
94
95
96
97
/* ... */
#ifndef GLOBAL_H
#define GLOBAL_H
#define U8 unsigned char
#define I8 signed char
#define U16 unsigned short
#define I16 signed short
5 defines#ifdef __x86_64__
#define U32 unsigned
#define I32 int
/* ... */#else
#define U32 unsigned long
#define I32 signed long
/* ... */#endif
#ifdef _WIN32
#ifdef __MINGW32__
#define U64 unsigned long long
#define I64 long long
/* ... */ #else
#define U64 unsigned __int64
#define U128 unsigned __int128
#define I64 __int64
#define I128 __int128
#if _MSC_VER <= 1200
#define U64_C(x) x##UI64
#else
#define U64_C(x) x##ULL
#endif/* ... */
#endif/* ... */
#else
#define U64 unsigned long long
#define I64 signed long long
#define U64_C(x) x##ULL
/* ... */#endif
/* ... */
#endif