mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 06:07:12 -06:00
4.46 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
a145bfc7cf
commit
c574fc0f4b
@@ -3,7 +3,18 @@
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#define USE_ALLOCA
|
||||
#endif
|
||||
|
||||
#ifdef USE_ALLOCA
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../../../Common/Defs.h"
|
||||
#include "../../Common/StreamUtils.h"
|
||||
@@ -1266,8 +1277,10 @@ HRESULT CEncoder::CodeReal(ISequentialInStream *inStream,
|
||||
{
|
||||
// _needReleaseMFStream = false;
|
||||
#ifdef COMPRESS_MF_MT
|
||||
#ifdef USE_ALLOCA
|
||||
alloca(0x300);
|
||||
#endif
|
||||
#endif
|
||||
CCoderReleaser coderReleaser(this);
|
||||
RINOK(SetStreams(inStream, outStream, inSize, outSize));
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user