diff options
Diffstat (limited to 'CPP/7zip/Archive/7z/7zHandler.cpp')
-rwxr-xr-x | CPP/7zip/Archive/7z/7zHandler.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/7z/7zHandler.cpp b/CPP/7zip/Archive/7z/7zHandler.cpp index dc0a6505..9fc45848 100755 --- a/CPP/7zip/Archive/7z/7zHandler.cpp +++ b/CPP/7zip/Archive/7z/7zHandler.cpp @@ -20,6 +20,10 @@ #endif #endif +#ifdef COMPRESS_MT +#include "../../../Windows/System.h" +#endif + using namespace NWindows; extern UString ConvertMethodIdToString(UInt64 id); @@ -29,10 +33,11 @@ namespace N7z { CHandler::CHandler() { + #ifdef EXTRACT_ONLY #ifdef COMPRESS_MT _numThreads = NWindows::NSystem::GetNumberOfProcessors(); #endif - #ifndef EXTRACT_ONLY + #else Init(); #endif } |