legacy decoders: restored #include <intrin.h> for VC++
This commit is contained in:
parent
8161e7321a
commit
c13faa1b0f
@ -1557,7 +1557,7 @@ static size_t ZSTD_decodeLiteralsBlock(void* ctx,
|
||||
}
|
||||
|
||||
|
||||
static size_t ZSTD_decodeSeqHeaders(int* nbSeq, const BYTE** dumpsPtr, size_t* dumpsLengthPtr,
|
||||
size_t ZSTD_decodeSeqHeaders(int* nbSeq, const BYTE** dumpsPtr, size_t* dumpsLengthPtr,
|
||||
FSE_DTable* DTableLL, FSE_DTable* DTableML, FSE_DTable* DTableOffb,
|
||||
const void* src, size_t srcSize)
|
||||
{
|
||||
|
@ -13,6 +13,14 @@
|
||||
#include "error_private.h"
|
||||
|
||||
|
||||
/******************************************
|
||||
* Compiler-specific
|
||||
******************************************/
|
||||
#if defined(_MSC_VER) /* Visual Studio */
|
||||
# include <stdlib.h> /* _byteswap_ulong */
|
||||
# include <intrin.h> /* _byteswap_* */
|
||||
#endif
|
||||
|
||||
|
||||
/* ******************************************************************
|
||||
mem.h
|
||||
|
@ -13,6 +13,15 @@
|
||||
#include "error_private.h"
|
||||
|
||||
|
||||
/******************************************
|
||||
* Compiler-specific
|
||||
******************************************/
|
||||
#if defined(_MSC_VER) /* Visual Studio */
|
||||
# include <stdlib.h> /* _byteswap_ulong */
|
||||
# include <intrin.h> /* _byteswap_* */
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* ******************************************************************
|
||||
mem.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user