chore: fix non linux build metrics

Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
Melissa Kilby
2024-05-09 17:04:22 +00:00
committed by poiana
parent 67a5015be7
commit 91b58c43f1
6 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ namespace falco::utils
{
uint64_t parse_prometheus_interval(std::string interval_str);
#if defined(__linux__)
#if defined(__linux__) and !defined(MINIMAL_BUILD) and !defined(__EMSCRIPTEN__)
std::string calculate_file_sha256sum(const std::string& filename);
#endif