aboutsummaryrefslogtreecommitdiff
path: root/C/7zTypes.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2022-06-20 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-12-17 13:35:20 +0500
commita3e1d227377188734b82f023f96f8e25dc40f3e6 (patch)
tree23cad8d47eb23d26ea727b4f7f4a65124f724065 /C/7zTypes.h
parentf19f813537c7aea1c20749c914e756b54a9c3cf5 (diff)
download7zip-22.00.tar.gz
7zip-22.00.tar.bz2
7zip-22.00.zip
22.0022.00
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