aboutsummaryrefslogtreecommitdiff
path: root/C/7zTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'C/7zTypes.h')
-rw-r--r--C/7zTypes.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/C/7zTypes.h b/C/7zTypes.h
index fe4fde3..f7d7071 100644
--- a/C/7zTypes.h
+++ b/C/7zTypes.h
@@ -1,5 +1,5 @@
1/* 7zTypes.h -- Basic types 1/* 7zTypes.h -- Basic types
22021-12-25 : Igor Pavlov : Public domain */ 22022-04-01 : Igor Pavlov : Public domain */
3 3
4#ifndef __7Z_TYPES_H 4#ifndef __7Z_TYPES_H
5#define __7Z_TYPES_H 5#define __7Z_TYPES_H
@@ -133,10 +133,6 @@ typedef int WRes;
133#define MY__E_ERROR_NEGATIVE_SEEK MY_HRESULT_FROM_errno_CONST_ERROR(EINVAL) 133#define MY__E_ERROR_NEGATIVE_SEEK MY_HRESULT_FROM_errno_CONST_ERROR(EINVAL)
134*/ 134*/
135 135
136// gcc / clang : (sizeof(long) == sizeof(void*)) in 32/64 bits
137typedef long INT_PTR;
138typedef unsigned long UINT_PTR;
139
140#define TEXT(quote) quote 136#define TEXT(quote) quote
141 137
142#define FILE_ATTRIBUTE_READONLY 0x0001 138#define FILE_ATTRIBUTE_READONLY 0x0001
@@ -520,6 +516,14 @@ struct ISzAlloc
520 516
521#endif 517#endif
522 518
519#define k_PropVar_TimePrec_0 0
520#define k_PropVar_TimePrec_Unix 1
521#define k_PropVar_TimePrec_DOS 2
522#define k_PropVar_TimePrec_HighPrec 3
523#define k_PropVar_TimePrec_Base 16
524#define k_PropVar_TimePrec_100ns (k_PropVar_TimePrec_Base + 7)
525#define k_PropVar_TimePrec_1ns (k_PropVar_TimePrec_Base + 9)
526
523EXTERN_C_END 527EXTERN_C_END
524 528
525#endif 529#endif