Skip to content

Commit

Permalink
Try to fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
daid committed Dec 23, 2024
1 parent 6a8d5cd commit 44ac98b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/io/dataBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 44ac98b

Please sign in to comment.