add zstd
This commit is contained in:
@@ -9,16 +9,6 @@ extern "C"
|
||||
#include "bsdiff.h"
|
||||
}
|
||||
|
||||
static int diffFileWriter(struct bsdiff_stream* stream, const void* buffer, int size)
|
||||
{
|
||||
FILE* fp = (FILE*)stream->opaque;
|
||||
if (size != fwrite(buffer, 1, size, fp))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int bzPatchFileWriter(struct bsdiff_stream* stream, const void* buffer, int size)
|
||||
{
|
||||
BZFILE* bz2 = (BZFILE*)stream->opaque;
|
||||
|
||||
Reference in New Issue
Block a user