The branch, master has been updated
       via  9cd4be6d7ce1c226f9b92c0de2ac8add7a90020f (commit)
      from  1c5bb1b12da142ae111b35565420ffd1ccc9a029 (commit)


- Log -----------------------------------------------------------------
commit 9cd4be6d7ce1c226f9b92c0de2ac8add7a90020f
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sat Nov 29 11:33:08 2025 +0100
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sat Nov 29 21:43:12 2025 +0000

    tools/sofa2wavs: fix build on Windows
    
    Signed-off-by: Kacper Michajłow <[email protected]>

diff --git a/tools/sofa2wavs.c b/tools/sofa2wavs.c
index 1f1075b22f..d551913dce 100644
--- a/tools/sofa2wavs.c
+++ b/tools/sofa2wavs.c
@@ -24,6 +24,12 @@
 #include <stdio.h>
 #include <mysofa.h>
 
+#ifdef _WIN32
+#include <direct.h>
+#undef mkdir
+#define mkdir(a, b) _mkdir(a)
+#endif
+
 int main(int argc, char **argv)
 {
     struct MYSOFA_HRTF *hrtf;

-----------------------------------------------------------------------

Summary of changes:
 tools/sofa2wavs.c | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to