From 75909072c260072d78754bd8cc77ac4413a76036 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Fri, 11 Sep 2026 09:22:43 -0700 Subject: [PATCH] Handle raylib conflict with PlaySoundW for wide string builds (#6140) --- src/external/fix_win32_compatibility.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/external/fix_win32_compatibility.h b/src/external/fix_win32_compatibility.h index 287423098..4e5b8ca35 100644 --- a/src/external/fix_win32_compatibility.h +++ b/src/external/fix_win32_compatibility.h @@ -43,6 +43,7 @@ #define DrawTextExA DrawTextExAWin32 #define DrawTextExW DrawTextExWin32 #define PlaySoundA PlaySoundAWin32 +#define PlaySoundW PlaySoundWWin32 // include windows #define WIN32_LEAN_AND_MEAN #include @@ -62,3 +63,4 @@ #undef DrawTextExA #undef DrawTextExW #undef PlaySoundA +#undef PlaySoundW