From c9957457e74a9ae912cbd798f6414b1bf6244484 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 29 May 2022 00:10:15 +0300 Subject: [PATCH] Add compat_filelength to sound --- src/sound.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sound.cc b/src/sound.cc index 00ec98f..6718ccb 100644 --- a/src/sound.cc +++ b/src/sound.cc @@ -2,6 +2,7 @@ #include "debug.h" #include "memory.h" +#include "platform_compat.h" #include #include @@ -37,7 +38,7 @@ SoundFileIO gSoundDefaultFileIO = { write, lseek, tell, - filelength, + compat_filelength, -1, };