mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 00:07:09 -06:00
Update to 7-Zip Version 21.02
This commit is contained in:
@@ -33,7 +33,7 @@ namespace NMub {
|
||||
#define MACH_CPU_TYPE_AMD64 (MACH_CPU_ARCH_ABI64 | MACH_CPU_TYPE_386)
|
||||
#define MACH_CPU_TYPE_ARM64 (MACH_CPU_ARCH_ABI64 | MACH_CPU_TYPE_ARM)
|
||||
|
||||
#define MACH_CPU_SUBTYPE_LIB64 (1 << 31)
|
||||
#define MACH_CPU_SUBTYPE_LIB64 ((UInt32)1 << 31)
|
||||
|
||||
#define MACH_CPU_SUBTYPE_I386_ALL 3
|
||||
|
||||
@@ -124,14 +124,15 @@ STDMETHODIMP CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
|
||||
}
|
||||
if (ext)
|
||||
strcpy(temp, ext);
|
||||
if (item.SubType != 0 && (
|
||||
item.Type != MACH_CPU_TYPE_386 &&
|
||||
item.Type != MACH_CPU_TYPE_AMD64 ||
|
||||
(item.SubType & ~(UInt32)MACH_CPU_SUBTYPE_LIB64) != MACH_CPU_SUBTYPE_I386_ALL))
|
||||
if (item.SubType != 0)
|
||||
if ((item.Type != MACH_CPU_TYPE_386 &&
|
||||
item.Type != MACH_CPU_TYPE_AMD64)
|
||||
|| (item.SubType & ~(UInt32)MACH_CPU_SUBTYPE_LIB64) != MACH_CPU_SUBTYPE_I386_ALL
|
||||
)
|
||||
{
|
||||
unsigned pos = MyStringLen(temp);
|
||||
temp[pos++] = '-';
|
||||
ConvertUInt32ToString(item.SubType, temp + pos);
|
||||
ConvertUInt32ToString(item.SubType, temp + pos);
|
||||
}
|
||||
return PropVarEm_Set_Str(value, temp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user