From 44ac98b178d9ca5d14dd762e02747cd674585735 Mon Sep 17 00:00:00 2001 From: Daid Date: Mon, 23 Dec 2024 15:03:01 +0100 Subject: [PATCH] Try to fix macos build --- src/io/dataBuffer.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/io/dataBuffer.h b/src/io/dataBuffer.h index 23d0d28..c70c9c4 100644 --- a/src/io/dataBuffer.h +++ b/src/io/dataBuffer.h @@ -106,6 +106,13 @@ class DataBuffer writeVLQu64(i); } +#ifdef __MACOS__ + void write(size_t& i) + { + writeVLQu64(i); + } +#endif + void write(const float f) { appendRaw(&f, sizeof(f));