#include "_platform.h"
Contains the definitions that enable or disable certain features in the ZipArchive Library.
Define it as 1, if you use AES. Define it as 0 otherwise.
Define it as 1, if you use the BZIP2 algorithm for compression. Define it as 0 otherwise.
Define it, if you want to use the bzip2 sources that come with the ZipArchive Library. When building with CMake, this is controlled by the ZIP_USE_BZIP2_INTERNAL option (ON=internal sources, OFF=system library).
Active implementation of CZipFile class.
Define it as 1, if you want to create seekable data. Define it as 0 otherwise.
Define it as 0 to have the index and volume numbers types defined as WORD. Define it as 1 to define them as int. Makes sense only if _ZIP_ZIP64 is 0.
Define it as 1, if you want to use Unicode support for filenames and comments (WinZip compatible). This functionality is available in the Full Version only. Under Windows, this functionality requires Unicode compilation. Define it as 0 otherwise.
Define it as 1, if you want to use custom Unicode support for filenames and comments provided by the ZipArchive Library. This functionality is available only under Windows and is deprecated. Requires Unicode compilation. Define it as 0 otherwise.
Define it as 1, if you use Unicode and under Windows you decompress archives from systems that use different Unicode Normalization form for filenames (like macOS). This functionality is available only under Windows and requires Unicode compilation. Define it as 0 otherwise.
Define it as 1 to enable hardware AES acceleration (Intel AES-NI or ARM Crypto Extensions). Hardware acceleration is automatically detected at runtime and used when available. Define it as 0 to use software-only AES implementation.
Define it as 1 to enable hardware CRC-32 acceleration (Intel PCLMULQDQ or ARM CRC32 instructions). Hardware acceleration is automatically detected at runtime and used when available. Define it as 0 to use software-only CRC-32 implementation.
Define it as 1, if you use the AES encryption in a multithreaded environment or archive sharing (CZipArchive::OpenFrom). Define it as 0 otherwise.
Define it as 1, if you use ZIP64. Define it as 0 otherwise.
Define it as 1, if you want to use zstd compression algorithm. Define it as 0 otherwise.
Define it, if you want to use the zstd sources that come with the ZipArchive Library. When building with CMake, this is controlled by the ZIP_USE_ZSTD_INTERNAL option (ON=internal sources, OFF=system library). If not using CMake, change the definition below to 0 to use internal zstd sources.
Default implementation of CZipFile class.
STL implementation of CZipFile class.
Windows API implementation of CZipFile class.
Enables multithreading support for zstd compression.
Enables static linking for zstd library.