From b6881d572aff50811ca4a0a670306efcfc640a5f Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 29 Nov 2023 16:52:36 +0800 Subject: [PATCH] fix compile error on windows/mac --- source/common/src/cos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common/src/cos.c b/source/common/src/cos.c index 65b0a61590..7c8676e9f5 100644 --- a/source/common/src/cos.c +++ b/source/common/src/cos.c @@ -1355,5 +1355,6 @@ int32_t s3GetObjectBlock(const char *object_name, int64_t offset, int64_t size, void s3EvictCache(const char *path, long object_size) {} long s3Size(const char *object_name) { return 0; } int32_t s3GetObjectsByPrefix(const char *prefix, const char *path) { return 0; } +int32_t s3GetObjectToFile(const char *object_name, char *fileName) { return 0; } #endif