equal
deleted
inserted
replaced
1 // Common/Types.h |
|
2 |
|
3 #ifndef __COMMON_TYPES_H |
|
4 #define __COMMON_TYPES_H |
|
5 |
|
6 #ifndef _7ZIP_BYTE_DEFINED |
|
7 #define _7ZIP_BYTE_DEFINED |
|
8 typedef unsigned char Byte; |
|
9 #endif |
|
10 |
|
11 #ifndef _7ZIP_INT16_DEFINED |
|
12 #define _7ZIP_INT16_DEFINED |
|
13 typedef short Int16; |
|
14 #endif |
|
15 |
|
16 #ifndef _7ZIP_UINT16_DEFINED |
|
17 #define _7ZIP_UINT16_DEFINED |
|
18 typedef unsigned short UInt16; |
|
19 #endif |
|
20 |
|
21 #ifndef _7ZIP_INT32_DEFINED |
|
22 #define _7ZIP_INT32_DEFINED |
|
23 typedef int Int32; |
|
24 #endif |
|
25 |
|
26 #ifndef _7ZIP_UINT32_DEFINED |
|
27 #define _7ZIP_UINT32_DEFINED |
|
28 typedef unsigned int UInt32; |
|
29 #endif |
|
30 |
|
31 #ifdef _MSC_VER |
|
32 |
|
33 #ifndef _7ZIP_INT64_DEFINED |
|
34 #define _7ZIP_INT64_DEFINED |
|
35 typedef __int64 Int64; |
|
36 #endif |
|
37 |
|
38 #ifndef _7ZIP_UINT64_DEFINED |
|
39 #define _7ZIP_UINT64_DEFINED |
|
40 typedef unsigned __int64 UInt64; |
|
41 #endif |
|
42 |
|
43 #else |
|
44 |
|
45 #ifndef _7ZIP_INT64_DEFINED |
|
46 #define _7ZIP_INT64_DEFINED |
|
47 typedef long long int Int64; |
|
48 #endif |
|
49 |
|
50 #ifndef _7ZIP_UINT64_DEFINED |
|
51 #define _7ZIP_UINT64_DEFINED |
|
52 typedef unsigned long long int UInt64; |
|
53 #endif |
|
54 |
|
55 #endif |
|
56 |
|
57 #endif |
|