1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

fixed compilation with Visual in C++ mode

This commit is contained in:
inikep
2016-08-10 14:28:47 +02:00
parent 48849f86f0
commit 3d2c58c3a9
2 changed files with 7 additions and 4 deletions

View File

@ -29,14 +29,15 @@
- zstd source repository : https://github.com/Cyan4973/zstd
*/
#include <stdarg.h> /* va_list, for z_gzprintf */
#include <stdio.h> /* vsprintf */
#include <stdarg.h> /* va_list, for z_gzprintf */
#include <zlib.h>
#include "zstd_zlibwrapper.h"
#define ZSTD_STATIC_LINKING_ONLY /* ZSTD_MAGICNUMBER */
#include "zstd.h"
#define ZBUFF_STATIC_LINKING_ONLY /* ZBUFF_createCCtx_advanced */
#include "zbuff.h"
#include "zstd_internal.h" /* defaultCustomMem */
#include "zstd_internal.h" /* defaultCustomMem */
#define Z_INFLATE_SYNC 8