From 5b1bfe38f91ee3f67f46d912f05f35777e15a4b3 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 21 Apr 2026 17:00:29 +0300 Subject: [PATCH] sokol: fix sokol.audio not working on windows tcc (fixes #15863) --- thirdparty/sokol/sokol_audio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdparty/sokol/sokol_audio.h b/thirdparty/sokol/sokol_audio.h index ed90fb60f..7a8ab61e7 100644 --- a/thirdparty/sokol/sokol_audio.h +++ b/thirdparty/sokol/sokol_audio.h @@ -729,6 +729,8 @@ inline void saudio_setup(const saudio_desc& desc) { return saudio_setup(&desc); #define CONST_VTABLE #endif #include + /* TCC's audioclient.h may miss these transitive audio format/channel mask definitions. */ + #include #include static const IID _saudio_IID_IAudioClient = { 0x1cb9ad4c, 0xdbfa, 0x4c32, {0xb1, 0x78, 0xc2, 0xf5, 0x68, 0xa7, 0x03, 0xb2} }; static const IID _saudio_IID_IMMDeviceEnumerator = { 0xa95664d2, 0x9614, 0x4f35, {0xa7, 0x46, 0xde, 0x8d, 0xb6, 0x36, 0x17, 0xe6} }; -- 2.39.5