diff options
author | George Marques <george@gmarqu.es> | 2017-07-25 14:49:57 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2017-07-25 14:52:14 -0300 |
commit | 9db39d72fa6b49aba1d38c7e26e82b280e2055e1 (patch) | |
tree | e0aaf4c83c575a722099850dbdf0fb32c146c059 /thirdparty/zstd/common | |
parent | 497411aa124f665e6f89bc6137c65fbd106a7859 (diff) |
zstd: Apply upstream patch to fix UWP ARM build
Following upstream commit f04deff4fc
Diffstat (limited to 'thirdparty/zstd/common')
-rw-r--r-- | thirdparty/zstd/common/zstd_internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/thirdparty/zstd/common/zstd_internal.h b/thirdparty/zstd/common/zstd_internal.h index f2c4e6249f..49a4796476 100644 --- a/thirdparty/zstd/common/zstd_internal.h +++ b/thirdparty/zstd/common/zstd_internal.h @@ -331,4 +331,16 @@ size_t ZSTD_compressStream_generic(ZSTD_CStream* zcs, ZSTD_parameters ZSTD_getParamsFromCDict(const ZSTD_CDict* cdict); +typedef struct { + blockType_e blockType; + U32 lastBlock; + U32 origSize; +} blockProperties_t; + +/*! ZSTD_getcBlockSize() : + * Provides the size of compressed block from block header `src` */ + size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, + blockProperties_t* bpPtr); + + #endif /* ZSTD_CCOMMON_H_MODULE */ |