mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 10:11:38 -06:00
4.63
This commit is contained in:
committed by
Kornel Lesiński
parent
c1f1243a70
commit
3a524e5ba2
@@ -30,22 +30,23 @@
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include "../../../../C/Alloc.h"
|
||||
#include "../../../../C/7zCrc.h"
|
||||
#include "../../../../C/Alloc.h"
|
||||
}
|
||||
|
||||
#include "../../../Common/MyCom.h"
|
||||
#include "../../ICoder.h"
|
||||
|
||||
#ifdef BENCH_MT
|
||||
#include "../../../Windows/Thread.h"
|
||||
#include "../../../Windows/Synchronization.h"
|
||||
#include "../../../Windows/Thread.h"
|
||||
#endif
|
||||
|
||||
#ifdef EXTERNAL_LZMA
|
||||
#include "../../../Windows/PropVariant.h"
|
||||
#include "../../ICoder.h"
|
||||
#else
|
||||
#include "../LZMA/LZMADecoder.h"
|
||||
#include "../LZMA/LZMAEncoder.h"
|
||||
#include "../LzmaDecoder.h"
|
||||
#include "../LzmaEncoder.h"
|
||||
#endif
|
||||
|
||||
static const UInt32 kUncompressMinBlockSize = 1 << 26;
|
||||
@@ -697,14 +698,14 @@ HRESULT LzmaBench(
|
||||
#ifdef EXTERNAL_LZMA
|
||||
RINOK(codecs->CreateCoder(name, true, encoder.encoder));
|
||||
#else
|
||||
encoder.encoder = new NCompress::NLZMA::CEncoder;
|
||||
encoder.encoder = new NCompress::NLzma::CEncoder;
|
||||
#endif
|
||||
for (UInt32 j = 0; j < numSubDecoderThreads; j++)
|
||||
{
|
||||
#ifdef EXTERNAL_LZMA
|
||||
RINOK(codecs->CreateCoder(name, false, encoder.decoders[j]));
|
||||
#else
|
||||
encoder.decoders[j] = new NCompress::NLZMA::CDecoder;
|
||||
encoder.decoders[j] = new NCompress::NLzma::CDecoder;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user