mirror of
https://github.com/linux-msm/tqftpserv.git
synced 2024-11-23 01:54:25 +08:00
f9da0667fb
Bit of a blind fix, since I don't have an Android dev setup nearby. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
22 lines
376 B
C
22 lines
376 B
C
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2024, Stefan Hansson
|
|
*/
|
|
|
|
#ifndef __ZSTD_DECOMPRESS_H__
|
|
#define __ZSTD_DECOMPRESS_H__
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifdef HAVE_ZSTD
|
|
int zstd_decompress_file(const char *filename);
|
|
#else
|
|
static int zstd_decompress_file(const char *filename)
|
|
{
|
|
fprintf(stderr, "Built without ZSTD support\n");
|
|
return -1;
|
|
}
|
|
#endif
|
|
|
|
#endif
|